Table of Contents |
---|
...
Code Block | ||||
---|---|---|---|---|
| ||||
SL.DotNet.exe config --appName "myApp" --branchName "master" --buildName "1" --includeNamespace myNameSpace.* --buildSessionIdFile buildSessionId.txt |
Automatic setup
TheSeaLights agent can automatically setup your msbuild to work with the SeaLights agent.
Code Block |
---|
SL.DotNet.exe prepareForMsBuild --buildSessionIdFile buildSessionId.txt --workspacePath "C:\path\to\project" --baseDir "C:\path\to\project" --ignoreGeneratedCode true --logEnabled true |
...
MSBuild Version | Solution | Sampl |
---|---|---|
14 | Set the MSBuildEmitSolution environment variable to 1 before running MSBuild | set MSBuildEmitSolution=1 |
15 | Add the --msBuildVersion 15 flag to the prepareForMsBuild command | SL.DotNet.exe prepareForMsBuild --buildSessionIdFile buildSessionId.txt --workspacePath "C:\path\to\project" --msBuildVersion 15 |
...