-msbuild "MyProject.sln" /p:Configuration="Release" /p:Platform="Any CPU" /p:OutputPath="./../../build/release/"# The output path is relative to the position of the csproj-file
stage:build
only:
-master
artifacts:
paths:
-build/release/MyProject.exe
script:
# The output path is relative to the position of the csproj-file
-msbuild "MyProject.sln" /p:Configuration="Debug" /p:Platform="Any CPU" /p:OutputPath="./../../build/debug/"# The output path is relative to the position of the csproj-file