Is it possible to invoke dnu publish
with the --no-source
attribute from MSBuild when triggering the FileSystemPublish
target?
MSBuild command:
/t:Build,FileSystemPublish /p:PublishConfiguration=$(BuildConfiguration) /p:PublishOutputPathNoTrailingSlash=$(build.stagingDirectory)
MSBuild ultimately calls the following:
dnu publish "C:/MyApplication" --out "C:/a/MyApplication" --configuration Release --runtime dnx-clr-win-x86.1.0.0-beta6 --quiet
I would like to append the --no-source
attribute.