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 CustomersCanvasSrc.zip archive to your file system.
  2. Download and install Visual C++ Redistributable Packages for Visual Studio 2013; both vcredist_x64.exe and vcredist_x86.exe.
  3. Download and install Visual Studio 2015 Update 3.
  4. Download and install TypeScript 2.0 or higher for Visual Studio 2015.
  5. Open \src\CustomersCanvas.sln in Visual Studio.
  6. Check if Web Developer Tools is installed in your Visual Studio.
  7. Open the Tools -> Extensions and Updates menu:

    Extensions and Updates menu in Visual Studio 2015.

  8. You should see them in the list under Installed -> Tools:

    Web Tools in the list of installed extensions.

  9. 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.
  10. Finally, select a build configuration on the Solution Configurations menu: select Release.

    List of available configurations.

  11. Build the solution: press Ctrl+Shift+B or click Build -> Build Solution on the menu.
  12. Copy your license file (Aurigma.GraphicsMill.lic) to the \src\SimplePolygraphy\bin\ folder.
  13. 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:
  14. Click the Show All Files icon in the Solution Explorer.

    Show All Files in Solution Explorer.

  15. The \bin\ folder should appear.

    \bin\ folder in the Project.

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

    Including Aurigma.GraphicsMill.lic to the Project.

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

    Setting as StartUp Project.

  18. 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.
  19. 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

    Manual

    Other