Browse Source

Added instructions on command line build

Oskar Røren 2 years ago
parent
commit
c280446e67
1 changed files with 11 additions and 1 deletions
  1. 11 1
      en/manual/files-and-folders/distribute-a-game.md

+ 11 - 1
en/manual/files-and-folders/distribute-a-game.md

@@ -37,6 +37,16 @@ When you're ready to publish your game, create a release build from Visual Studi
 > [!Tip]
 > You might want to rename the **Release** folder to something more descriptive (such as the title of your game).
 
+## To build using terminal instead of VS
+
+ 1. You would need to install VS to get **Developer Command Propmt for VS (Version)**
+ 2. This is needed to run the msbuild command
+
+ 3. The following command is to build the project to a folder of your choosing
+ 4. ```console
+    C:\User> msbuild PathToSln\NameOfProject.sln /p:Configuration=Release /p:OutputPath=YourPreferredPath
+    ```
+
 ## 2. Delete unnecessary files
 
 In the release folder in your project bin folder (eg *MyGame/Bin/MyPlatform/Release*), you can delete the following unnecessary files:
@@ -67,4 +77,4 @@ To run games made with Stride on Windows, users need:
 
 * [Add or remove a platform](../platforms/add-or-remove-a-platform.md)
 * [Version control](version-control.md)
-* [Project structure](project-structure.md)
+* [Project structure](project-structure.md)