Enabling infopath intelliisense documentation in vsta and Visual Studio

Source: Internet
Author: User

The Microsoft Office infopath 2007 setup program installtwo. xml files that are designed to display programming information from the class library reference inline in the code editor and the Object Browser when working with members ofMicrosoft. Office. infopathAndMicrosoft. Office. InterOP. infopath. semitrustNamespaces.

Displaying programming information in the Code Editor

 

Displaying programming information in the Object Browser

For this programming information to be visible in the Visual Studio Tools for applications (vsta) and Visual Studio development environments, you must copy the two. XML files from the infopath setup Directory into the locations in the Global Assembly Cache (GAC) where each of the infopath assemblies are installed. to do that, you use the command prompt to copy the files as described in the following steps.

To copy the intelliisense documentation files for the Microsoft. Office. infopath and Microsoft. Office. InterOP. infopath. semitrust assemblies into the GAC:

    1. Open the command prompt.
    2. Execute each of the following commands, pressingEnterAfter each command:

CD \ Program Files \ Microsoft Office \ office12

Copy Microsoft. Office. infopath. xml % WinDir % \ Assembly \ gac_msil \ microsoft. Office. infopath \ 12.0.0.0 _ 71e9bce111e9429c

Copy Microsoft. Office. InterOP. infopath. semitrust. xml % WinDir % \ Assembly \ GAC \ microsoft. Office. InterOP. infopath. semitrust \ 11.0.0.0 _ 71e9bce111e9429c

NoteIf you are running Windows Vista and using User Account Control, you must right-click the shortcut cut used to open the command prompt, and then clickRun as AdministratorTo successfully copy the. xml files into the GAC.

Mark Roberts
Programming writer

Filed under: writing code

Turn: http://blogs.msdn.com/infopath/archive/2007/03/05/enabling-infopath-intellisense-documentation-in-vsta-and-visual-studio.aspx

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.