Setting assembly information

It's important to set the assembly information so the assembly you build for your Visual Studio Tools for Microsoft Dynamics GP integration is properly identified and versioned. Be sure you set the following items:

  • Title
  • Description
  • Company
  • Major, minor, and build numbers

C# application

For integrations written in C#, the assembly information is set in the AssemblyInfo.cs source file for the project. The following portion of this file shows the various name values that should be set.

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Estimate Freight")]
[assembly: AssemblyDescription("Estimate Freight Sample Integration")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("EstimateFreight")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

The following portion of this file shows the version, build, and revision numbers that should be set.

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all values or default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Visual Basic application

For integrations written in Visual Basic, the assembly information is set in the Assembly Information window. Access this window. To view this windows, choose to display the properties for the Visual Basic project. Click the Application tab, and then click the Assembly Information button.