I have a Solution with a large number of associated .csproj files.
Each .csproj file has a <Target Name="PublishQA">...
.
The build fails when I try to compile the whole solution:
> msbuild mysolution.sln /t:PublishQA`
"c:\myproj.sln" (publishqa target) (1) ->
c:\myproj.sln.metaproj : error MSB4057: The target "PublishQA" does not exist in the project. [c:\myproj.sln]
When I build the .csproj
project directly, it builds just fine.
How do I tell msbuild to pass the target to the project files???