Skip to content

Commit 610b3ea

Browse files
author
Vince Panuccio
committed
Specify target platform for MSBUILD
MSBUILD defaults to platform X64 if none is specified on the command line on a 64bit machine. If the configuration in the solution does not exist, MSBUILD will fail.
1 parent 55d9b8f commit 610b3ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

make.cmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ set _flavour=Release
103103
goto :main
104104

105105
:distclean
106-
msbuild /t:DistClean /p:BuildFlavour=Release /verbosity:minimal /nologo
107-
msbuild /t:DistClean /p:BuildFlavour=Debug /verbosity:minimal /nologo
106+
msbuild /t:DistClean /p:BuildFlavour=Release /verbosity:minimal /nologo /p:Platform="Any CPU"
107+
msbuild /t:DistClean /p:BuildFlavour=Debug /verbosity:minimal /nologo /p:Platform="Any CPU"
108108
goto :main
109109

110110
:main
111-
msbuild Build.proj /t:%_target% /p:BuildFlavour=%_flavour% /verbosity:minimal /nologo
111+
msbuild Build.proj /t:%_target% /p:BuildFlavour=%_flavour% /verbosity:minimal /nologo /p:Platform="Any CPU"
112112
goto :exit
113113

114114
:exit

0 commit comments

Comments
 (0)