Office 2010: Upgrading Projects to Microsoft Visual Studio 2010/.NET Framework 4.0

So Office 2010 is around the corner and developers are upgrading their environments to support solutions they have built for previous versions of Office. The situation is your are supporting an new office version with a new version of Visual Studio and a new .Net Framework. So you want to know, what is this process going to be like for me.

I found this pre-release information to help people in the same situation as we are:
Source: http://msdn.microsoft.com/en-us/library/4bez6837(VS.100).aspx

Visual Studio 2010

How to: Upgrade Office Solutions

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

If you have a Microsoft Office project that was created in an earlier version of Visual Studio, the project will upgrade automatically when you open it in Visual Studio 2010. After you upgrade the project, it will work just as it did in earlier versions of Visual Studio.

If you are upgrading a Visual Studio Tools for Office, Version 2003 project, you must perform some manual steps after you upgrade your project. For more information, see Upgrading Solutions from Visual Studio Tools for Office, Version 2003.

To upgrade a Microsoft Office project

  1. Open an existing project in a version of Visual Studio 2010 that includes the Microsoft Office development tools. For more information, see Configuring a Computer to Develop Office Solutions.

    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 project, 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.

    NoteNote

    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 is 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.

    NoteNote

    If your development computer does not have the .NET Framework 3.5 installed, Visual Studio changes the target framework of the project to the .NET Framework 4 Beta 2. For more information, see Upgrading and Migrating Office Solutions. If this happens, your project will no longer compile if it uses certain features. You must fix the compile errors by modifying code in the project. For more information, see Migrating Office Solutions to the .NET Framework 4.

Jeff Loucks
Available Technology
Available Technology
  Subscribe in a reader

Leave a Reply

Your email address will not be published. Required fields are marked *