Compile the Sitecore Identity Server SDK

Current version: 9.0

You can customize the Sitecore Identity Server, using the SDK package provided in the release package.

You can compile the Sitecore XC Identity Server from a command line (recommended) or from Visual Studio 2017.

To compile and package the Sitecore Identify Server using a command line (recommended):

  1. Start a command prompt as administrator and go to the IdentityServer SDK root directory (that is, where you extracted the Identity Server SDK zip file)

  2. Run the following command:

    dotnet.exe restore

  3. Run the following command:

    dotnet.exe publish –o <output-dir>

    Note

    Make sure that the installed version of the .NET framework is the DevPack/SDK edition, and not the Runtime edition. The dotnet publish command fails if only the Runtime edition is installed

  4. Zip the contents of the folder where you published the Sitecore.IdentityServcer.sln. Make sure that the root of the .zip file contains the compiled DLLs and folders, as shown in the following

  5. Copy the zipped Sitecore.IdentityServer.*.zip file to your deployment root.

To compilie and package the Sitecore Identity Server using Visual Studio:

  1. Launch Visual Studio.

  2. Sitecore IdentityServer SDK

  3. To build the solution, on the menu bar, click Build.

  4. To publish the project to your file system, click Publish.

  5. Zip the contents of the folder where you published the Sitecore.IdentityServcer.sln file. Make sure that the root of the .zip file contains the compiled DLLs and folders, as shown in the following:

  6. Copy the zipped Sitecore.IdentityServer.*.zip file to your deployment root.

Do you have some feedback for us?

If you have suggestions for improving this article,