Dela via


How to: Upgrade Solutions from Visual Studio Tools for Office

After you upgrade to Visual Studio Tools for Office, you can open and run your existing projects in Visual Studio and they will be upgraded to work the same way they did when you used Microsoft Visual Studio 2005 Tools for the Microsoft Office System or Visual Studio Tools for Office, Version 2003. If you are upgrading from a Visual Studio Tools for Office, Version 2003 project, you must perform some upgrade steps manually. For more information, see Upgrading from Visual Studio Tools for Office, Version 2003.

To upgrade a Visual Studio Tools for Office solution

  1. Open an existing solution in Visual Studio with Visual Studio Tools for Office installed.

    The Visual Studio Conversion Wizard appears.

  2. Read the information and warnings on the first screen, and then click Next.

  3. If you want to create a backup of your solution, select Yes, create a backup before converting and specify a location for the backup files. If you do not want to create a backup, select No.

  4. Click Next.

  5. Click Finish if everything on the summary page is correct.

    If you are upgrading a document-level customization project, and you have the 2007 version of Microsoft Office applications installed, the Microsoft Office Document Upgrade Settings dialog box appears.

  6. In the Microsoft Office Document Upgrade Settings dialog box, select the file format that you want to apply to the upgraded document, and then click OK.

    For guidance about how to select a file format, see Introduction to new file name extensions and Office XML Formats.

    Note

    If you select Do not ask me again, the Microsoft Office Document Upgrade Settings dialog box will not appear the next time that you run the Visual Studio Conversion Wizard. Instead, the selected document format will be automatically applied to every document-level customization project that you upgrade. To make the Microsoft Office Document Upgrade Settings dialog box reappear when you run the Visual Studio Conversion Wizard, or to change the default document format, see Project Upgrade, Options Dialog Box.

  7. If you want to see details about the conversion status, click Show the conversion log when the wizard is closed.

  8. Click Close.

    The solution opens with the new project system visible in Solution Explorer.

See Also

Concepts

Upgrading and Migrating Office Solutions

Reference

Publish Page, Project Designer (2007 System)

Other Resources

Introducing the Office (2007) Open XML File Formats