File tree Expand file tree Collapse file tree 3 files changed +5
-18
lines changed Expand file tree Collapse file tree 3 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ function build-clean() {
1313 param ([string ]$fileName = $ (throw " Need a project file name" ))
1414 $name = split-path - leaf $fileName
1515 write-host " `t $name "
16- & $msbuild / nologo / verbosity:m / t:Clean / p:Configuration= Release $fileName
16+ & $msbuild / nologo / verbosity:m / t:Clean / p:Configuration= Release / p:VisualStudioVersion = 10.0 $fileName
1717 test-return
18- & $msbuild / nologo / verbosity:m / t:Clean / p:Configuration= Debug $fileName
18+ & $msbuild / nologo / verbosity:m / t:Clean / p:Configuration= Debug / p:VisualStudioVersion = 10.0 $fileName
1919 test-return
2020}
2121
2222function build-release () {
2323 param ([string ]$fileName = $ (throw " Need a project file name" ))
2424 $name = split-path - leaf $fileName
2525 write-host " `t $name "
26- & $msbuild / nologo / verbosity:q / p:Configuration= Release $fileName
26+ & $msbuild / nologo / verbosity:q / p:Configuration= Release / p:VisualStudioVersion = 10.0 $fileName
2727 test-return
2828}
2929
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project ToolsVersion =" 4.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3- <PropertyGroup >
4- <Is32Bit >False</Is32Bit >
5- <Is32Bit Condition =" '$(PROCESSOR_ARCHITECTURE)' == 'x86'" >True</Is32Bit >
6- </PropertyGroup >
7-
8- <PropertyGroup Condition =" '$(Is32Bit)' == 'True'" >
9- <Vs2010InstallDir >$(registry:HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\10.0@InstallDir)</Vs2010InstallDir >
10- <Vs2012InstallDir >$(registry:HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\11.0@InstallDir)</Vs2012InstallDir >
11- </PropertyGroup >
12-
13- <PropertyGroup Condition =" '$(Is32Bit)' == 'False'" >
14- <Vs2010InstallDir >$(registry:HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\VisualStudio\10.0@InstallDir)</Vs2010InstallDir >
15- <Vs2012InstallDir >$(registry:HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\VisualStudio\11.0@InstallDir)</Vs2012InstallDir >
16- </PropertyGroup >
173
184 <PropertyGroup Condition =" '$(VisualStudioVersion)' == '10.0' " >
195 <EditorUtilsAppConfig >$(MSBuildThisFileDirectory)References\Vs2010\App.config</EditorUtilsAppConfig >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<configuration >
3-
3+ <!-- This file is intentionally kept blank. No need to support redirection on
4+ 2010 runs because this is the version we build against -->
45</configuration >
You can’t perform that action at this time.
0 commit comments