Share via


Creating the project for the security helper

To build a "security helper" application, use Visual Studio to create a console application project. The following steps show how to create the project.

  1. Create a Visual Studio console application project.

    Open Visual Studio.

    Warning: You must be using Visual Studio 2010 or later, and your project must target the .NET Framework 4.

    From the File menu, point to New, and then click Project. In the New Project window, choose Visual C# from the Project types list. In Templates, select Console Application from the list of Visual Studio installed templates.

    Enter a name for your project. Review the Location and Solution Name and click OK.

  2. Add assembly references.

    In the Project menu, choose Add References. The Add References window opens. Click the .NET tab. Select the following assemblies and click OK:

    • System.Configuration

    • System.EnterpriseServices

    • System.Web.Services

    In the Project menu, choose Add References. The Add References window opens. Click the Browse tab and navigate to the "GPWebServices" folder, typically found in the following location:

    C:\Program Files\Microsoft Dynamics\GPWebServices

    Select the following assembly, and then click OK:

    • Microsoft.Dynamics.Security.dll

  3. Add an application configuration file.

    In the Project menu, choose Add New Item. Select Application Configuration File from the list of Templates. Leave the default name of App.config, and then click Add.

    Use Solution Explorer to verify that your project includes a file named App.config.

  4. Save the project.

    In the File menu, choose Save.