Resources | Resources |



Generating project framework

The Brew MP Wizard provides the option of creating source code for an extension based on a template, which generates code for basic Brew MP extension functionality.

The Wizard initiates the creation of the Visual Studio solution, and the extension files. 

Creating the project using the Wizard

  1. Start Visual Studio
  2. Within Visual Studio, select File > New > Project.

    The New Project window opens.

     Your entries should match the above screen capture.

  3. Under Project types, select Brew MP.
  4. Under Templates, select C Extension.

  5. Use the default name provided, for example Extension1.
  6. Next to Location, enter a path to the directory where you want to store the project files. For this primer exercise, <C:\brewapps> is used.

    The "Create directory for solution" box should be unchecked.

  7. Click OK.

    The Brew MP C Extension dialog opens. The default executable file format created is MOD/DLL.

  8. Click Next. The final dialog displays options to generate the framework for a Brew MP platform version, and to select the executable file format. Select your Brew MP platform version from the drop-down menu, and in the Executable File Format drop-down menu, select MOD/DLL.
  9. Check the box to Include sample application for testing the extension.
  10. Click Finish.

    The new project is loaded in the Visual Studio environment.