Adding references

To access the resources in a specific dictionary, a project must contain a reference to the application assembly for that dictionary. When you create a new Visual Studio Tools for Microsoft Dynamics GP project, it will automatically contain a reference to the Application.Dynamics.dll application assembly. This provides access to resources in the Dynamics.dic dictionary. To access resources in other dictionaries, add references to the application assemblies for them.

Hint: If a dictionary doesn't have a corresponding application assembly, refer to Dictionary Assembly Generator to learn how to create one.

For example, to access resources from the "Sample Integrating App" application installed with Microsoft Dynamics GP, the project should contain a reference to the Application.SampleIntegratingApp.dll application assembly. The following illustration shows this reference for a C# project.

Cc543573.VSTDGP_ReferencedAssemblies(en-us,MSDN.10).gif