Upgrading from Release 10 or later

If your integration was created with Release 10 or later of Visual Studio Tools, use the following procedures to upgrade your integration to work with Visual Studio Tools for Microsoft Dynamics GP 2013. The upgrade procedure is relatively simple. The same procedure can be used for both C# and Visual Basic.

  1. Open the solution for your integration.

    Using Visual Studio, open the solution file for the integration you want to upgrade.

  2. Use the Visual Studio Conversion Wizard (if required).

    If the Visual Studio project must be converted to work with the current version of Visual Studio, the Visual Studio Conversion Wizard will be displayed. Complete the steps in the wizard to convert the project.

  3. Rebuild application assemblies.

    If you had built any application assemblies for your integration, you will need to re-build them so they are up-to-date with the latest version of Microsoft Dynamics GP. Refer to Dictionary Assembly Generator for information about generating application assemblies.

  4. Set the version of the .NET framework to target.

    Visual Studio Tools for Microsoft Dynamics GP 2013 integrations must target .NET Framework 4 to build properly. To specify the target framework, do the following:

    • For a C# project, display the project properties. In the Application group, set the Target framework field to .NET Framework 4. In the message displayed, click Yes indicate that you want to make the change.

    • For a Visual Basic project, display the project properties. In the Compile group, click Advanced Compile Options. Set the Target framework (all configurations) field to .NET Framework 4, and then click OK. In the message displayed, click Yes to indicate that you want to make the change.

    Warning: If you do not target the .NET Framework 4, you will see numerous build errors when you build your project.

  5. Update the assembly references if necessary.

    The assembly references for the project may be incorrect, because they may not be referencing the new versions of the Visual Studio Tools components and application assemblies.

    Cc543550.VSTDGP_Version10Upgrade(en-us,MSDN.10).gif

    If any of the references are not valid, remove and then re-add references to the updated Visual Studio Tools assemblies to replace the incorrect references.

  6. Build the solution.

    Choose to build the updated solution in Visual Studio. You may encounter build errors if your integration references resources in Microsoft Dynamics GP that have been deleted, moved, or renamed. You will need to fix these issues and rebuild the integration.