Advanced Installation TopicsInstall Sana Commerce SDK

Install Sana Commerce SDK

Sana Commerce 9.3
Your connector

Prerequisites

This chapter is a guide on how to install Sana Commerce SDK on the development environment. The objective of the Sana Commerce SDK installation on the development environment is to have a running Sana Commerce solution which is connected to the ERP system. When Sana Commerce SDK is installed you can develop, extend and customize your Sana Commerce solution.

Since Sana Commerce is a source code based framework, built on top of the .NET Framework, you should have a certain technical knowledge to be able to install Sana Commerce SDK and work with it.

Prerequisites

The following software is required to be able to install Sana Commerce SDK and configure it:
  • Sana Commerce SDK
    It can be downloaded on the Sana Community web site only by SDK Sana partners.
  • Microsoft Visual Studio

  •  NOTE

    Sana Commerce SDK 9.3.0 supports C# 6.0. Thus, you must use Microsoft Visual Studio 2015 or higher to customize your Sana project.

    Sana Commerce SDK 9.3.1 supports C# 7.0. Thus, you must use Microsoft Visual Studio 2017 to customize your Sana project.


  • .NET Framework 4.5.2
  • Windows PowerShell
  • Internet Information Service (IIS) Manager
    See the supported IIS versions here.
  • Microsoft SQL Server
    See the support Microsoft SQL Server versions here.
  • The up and running ERP environment with the Sana add-on installed inside it. This is needed to connect Sana to the ERP system.
    For more information about how to install the Sana add-on inside ERP, see "Installation".

If your development environment meets the minimum requirements that are needed to install Sana Commerce SDK then you can proceed to the next chapter.

Sana Commerce SDK and Microsoft Visual Studio 2015 Compatibility

When you open Sana Commerce SDK in Microsoft Visual Studio 2015 for the first time, you will see errors related to the missing NuGet packages, like NHibernate. Build the Sana Commerce solution and the missing NuGet packages will be automatically restored. The Sana Commerce solution will build without any problems, but you will see the IntelliSense errors. If you select Build Only from the dropdown in the Error List window the IntelliSense errors will disappear.

To fix an issue with the IntelliSense errors in Microsoft Visual Studio 2015:

Step 1: Right-click on the Sana.Commerce.Startersite project and select Unload Project.
Step 2: Right-click on the Sana.Commerce.Startersite project and select Reload Project.
Step 3: Right-click on the Sana.Commerce.Startersite project and select Set as StartUp Project.

If everything is done, you will not see the IntelliSense errors anymore.

Advanced Installation TopicsInstall Sana Commerce SDK