Meet us at SGIA Expo. Las Vegas, NV. Oct. 18—19.

Compiling Customer's Canvas from Source Code

You can request the Customer's Canvas source code if you purchased the on-premises version. The Customer's Canvas source code is a Visual Studio solution designed for Visual Studio 2015.

To build the solution:

  1. Extract the archive to your file system.
  2. Download and install Visual C++ Redistributable Packages for Visual Studio 2013 (vcredist_x64.exe).
  3. Download and install Visual Studio 2015 Update 3.
  4. Download and install TypeScript 2.4.0 for Visual Studio. You may obtain compilation errors if you install a different version of TypeScript.
  5. Download and install node.js 8.9.1 or higher.
  6. Open \src\CustomersCanvas.sln in Visual Studio.
  7. Check if Web Developer Tools is installed in your Visual Studio.
  8. Open the Tools > Extensions and Updates menu.

    Extensions and Updates menu in Visual Studio 2015.

  9. You should see them in the list under Installed > Tools.

    Web Tools in the list of installed extensions.

  10. If Web Developer Tools is not installed in your Visual Studio, you can repair your Visual Studio installation (in Control Panel, click Programs, and then click Programs and Features) and check the Web Developer Tools in the list of optional components.
  11. Navigate to Tools > Options > Projects and Solutions > External Web Tools and move $(PATH) above the .\node_modules\.bin internal path.

    Set up external paths.

  12. Install npm packages: in Solution Explorer, right-click package.json in the SimplePolygraphy project and click Restore Packages.

    Restore npm packages.

  13. Next, select Release on the Solution Configurations menu and Any CPU in Solution Platforms.

    The list of available configurations.

  14. Build the solution: press Ctrl+Shift+B or click Build > Build Solution on the menu.
  15. Copy your license file (Aurigma.GraphicsMill.lic) to the \src\SimplePolygraphy\bin\ folder.
  16. Include the license file in the project; this way the license file will be sent to the server when the project is published. To include the file in the project, perform the following steps:
  17. Click the Show All Files icon in the Solution Explorer.

    Show All Files in Solution Explorer.

  18. The \bin\ folder should appear.

    The bin folder in the project.

  19. Open the \bin\ folder, find Aurigma.GraphicsMill.lic, right-click it and then click Include In Project.

    Including Aurigma.GraphicsMill.lic to the project.

  20. Set SimplePolygraphy as a startup project: right-click SimplePolygraphy in Solution Explorer and click Set as StartUp Project.

    Setting as StartUp Project.

  21. Start the project: press Ctrl+F5 or click Debug > Start Without Debugging on the menu. In your browser, you should see a page containing an image carousel allowing you to select a product and the web-to-print designer.
  22. To deploy the project, right-click SimplePolygraphy in Solution Explorer and click Publish. To publish under IIS, create a new publish profile. You can find more information on the deployment in the Deploying Customer's Canvas to Windows Servers topic.

    If you face a compilation problem, refer to the Troubleshooting topic for a solution.

    See Also