Target project on msbuild
I want to target a specific project goal while still building the entire solution. According to this MSDN post, the following should work:
msbuild MySolution.sln /t:Build /t:src\Api\MyProject_Api:FileSystemPublish /p:PublishConfiguration=Release /p:PublishOutputPathNoTrailingSlash="C:\a"
But I am getting the following msbuild error:
error MSB4057: The target "src\Api\MyProject_Api:FileSystemPublish" does not exist in the project.
Decision:
I am using MSBuild 14.0
+3
source to share
No one has answered this question yet
Check out similar questions: