To do this, you need to know what the project goal name is, not necessarily the project name.
One way to find out is to use MSBuild against your SLN with the intended parameters after setting the MSBuildEmitSolution special environment variable to 1 .
set MSBuildEmitSolution=1 msbuild my_stuff.sln /t:rebuild /p:Configuration=Release /p:Platform=x64
I recently had to do this due to a very specific name for the purpose in nested directories. So, from my generated my_stuff.sln.metaproj file my_stuff.sln.metaproj I found my_stuff.sln.metaproj line:
<Target Name="Utils\Firewall\FirewallUtils:Rebuild">
This means that the command line to use ultimately,
msbuild my_stuff.sln /t:Utils\Firewall\FirewallUtils:Rebuild /p:Configuration=Release /p:Platform=x64
kayleeFrye_onDeck Mar 26 '19 at 22:10 2019-03-26 22:10
source share