Build Stride without Visual Studio
- Install Visual Studio Build Tools with the same prerequisites listed here
- Add MSBuild's directory to your system's PATH (ex:
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin)
- Open a command prompt, point it to a directory and clone Stride to it:
git lfs clone https://github.com/stride3d/stride.git
- Navigate to
/Buildwith the command prompt, input
msbuild /t:Restore Stride.slnthen
Build Stride with Rider
While the engine's build system is almost ready to run from Rider there are still a couple of kinks to iron out before we're there, in the mean time here's a short tutorial to help users of this IDE out.
As mentioned above, building directly from Rider is not possible yet, but we can invoke the command line to do it for us ...
Open Stride.sln with Rider.
Select the configuration dropdown, go to the bottom of the dropdown and select
Edit Configurations ...
+on the upper left of this new window, then
- Give it a name, something like
Compile then open Editor
- Fill the
Exe pathwith the game studio's, if you don't have the game studio check that step #1 was successful
- Remove any of the
- Add a new
Run External toolstep
- Press OK, press OK, press Apply, press OK and select this new configuration in the configuration dropdown
To hotreload your changes you either have to pause and continue the program or press on the hotreload button at the top of the text editor when/if it shows up.