User Tools

Site Tools


c:build:build-vs-project-cmd-line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
c:build:build-vs-project-cmd-line [2019/08/08 11:19]
odefta
c:build:build-vs-project-cmd-line [2019/08/08 11:20] (current)
odefta
Line 4: Line 4:
 VCTargetsPath env variable needs to be set to the corresponding folder that contains the Microsoft.Cpp.Default.props file.\\ VCTargetsPath env variable needs to be set to the corresponding folder that contains the Microsoft.Cpp.Default.props file.\\
 Ex: VCTargetsPath=C:​\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140 Ex: VCTargetsPath=C:​\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140
 +   
 +  cd C:​\PathToProjName
   C:​\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MsBuild.exe /t:clean /t:Build /​p:​configuration=release ProjName.sln   C:​\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MsBuild.exe /t:clean /t:Build /​p:​configuration=release ProjName.sln
  
c/build/build-vs-project-cmd-line.txt · Last modified: 2019/08/08 11:20 by odefta