Skip to content

Commit a3e93fb

Browse files
committed
Removed some unnecessary data from the project files
1 parent 8efd756 commit a3e93fb

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

Deploy.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

2222
function 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

EditorUtils.settings

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
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>

Test/EditorUtilsTest/App.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
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>

0 commit comments

Comments
 (0)