- Navigate to your solution folder
- Run: msbuild myproject.sln /p:Configuration=Release (or Debug)
- cd myproject (within your solution folder - it's a sub-folder)
- cd bin
- cd Release (or Debug)
- Run: myproject.exe
You can replace the three separate cd
commands with a single one:
cd myproject\bin\Release
Or simply run your executable from the solution folder:
myproject\bin\Release\myproject.exe