Table of Contents |
---|
...
Code Block | ||||
---|---|---|---|---|
| ||||
SL.DotNet.exe config --tokenFile C:\path\to\sltoken.txt --appName "myApp" --branchName "master" --buildName "1" --includeNamespace myNameSpace.* [--excludeNamespace <arg>] [--include <arg>] [--exclude <arg>] [--buildSessionId <arg> | --buildSessionIdFile <arg>] [--proxy <arg>] |
Automatic setup
TheSeaLights agent can automatically setup your msbuild to work with the SeaLights agent.
Code Block |
---|
SL.DotNet.exe prepareForMsBuild --tokenFile C:\path\to\sltoken.txt --buildSessionIdFile buildSessionId.txt --workspacePath "C:\path\to\project" --baseDir "C:\path\to\project" --ignoreGeneratedCode true --logEnabled true |
...
This can be solve by doing the following:
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 |