...
This command creates a file called 'after.{SOLUTION_FILE_NAME}.targets
' which sits alongside your solution file with all the needed parameters in it for Sealights agent to be executed automatically by MSBuild.
Info |
---|
See SeaLights .NET - command reference for full parameter details. |
...
Code Block | ||
---|---|---|
| ||
Msbuild SlnFolders.sln /t:rebuild |
Note |
---|
As SeaLights is using the compilation method's bytecode signature (Hash ID) to generate a unique identifier for each method, it is important NOT to recompile the application between the scan command and the deployment. |
In certain cases, integrating our agent as part of MSBuild
causes the build to fail with 'Error MSB4025: The project file could not be loaded. Could not find file ... .metaproj
' message. Please refer to our dedicated troubleshooting article for resolution.
...