Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
 How to: Migrate a Project Created i...
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
How to: Migrate a Project Created in Visual Studio Tools for Applications to Visual Studio

The following procedure describes how to migrate a form template project that was created in Microsoft Office InfoPath 2007 using the Microsoft Visual Studio Tools for Applications (VSTA) development environment to Visual Studio 2005 with Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System or Visual Studio 2008 with Visual Studio Tools for Office.

Migrate a VSTA project to Visual Studio

  1. In My Computer, locate the form template project that has code added using the Microsoft Visual Studio Tools for Applications (VSTA) development environment in Office InfoPath 2007. By default, it will be located in <drive>:\Documents and Settings\username\My Documents\InfoPath Projects\projectname\.

  2. Copy the projectname folder to a new location, such as <drive>:\Documents and Settings\username\My Documents\Visual Studio 2005\Projects.

  3. Start Visual Studio and open projectname.sln from the location where you copied the project folder in step 2.

  4. In Solution Explorer, right-click the project folder, point to Add, and then click New Folder.

  5. Name the new folder InfoPath Form Template. The name of the folder must be exact to work correctly.

  6. Close Visual Studio.

  7. Start InfoPath and open the original form template for the project in Design mode.

  8. On the File menu, click Save as Source Files, and then save the files to the InfoPath Form Template folder. This folder will be located inside the folder where you copied the project in step 2.

  9. Close InfoPath.

  10. Start Visual Studio, and the open the project you opened in step 3.

  11. In Solution Explorer, right-click the InfoPath Form Template folder, point to Add, click Existing Item, change Files of type to All Files (*.*), and then select manifest.xsf.

  12. In Solution Explorer, double-click manifest.xsf file to open the form template in Design mode in Visual Studio.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker