Show / Hide Table of Contents

How to publish OpenSilver project using command line

1. Install Visual Studio Build Tools. You can find it here - https://visualstudio.microsoft.com/downloads/

Install Build Tools

2. Install .NET SDK

Modify Build Tools Choose .NET SDK

3. Install .NET SDK from https://dotnet.microsoft.com/download/dotnet

4. Restore Nuget packages. For example with this command:

dotnet restore OpenSilverApplication.sln

5. Go to Solution folder and run:

msbuild OpenSilverApplication.sln /t:Rebuild /p:DeployOnBuild=true
  • Improve this Doc