forked from eXpandFramework/eXpand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defines.bat
55 lines (46 loc) · 2.42 KB
/
defines.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@echo off
set configuration=Debug
set vsver=vs2013
rem uncomment the line bellow if you not use vs2010
rem set vsver=vs2008
rem uncomment the line bellow if you not use vs2012
rem set vsver=vs2012
rem set vsver=vs2013
set msbuild="%WinDir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
set GACPATH="%WinDir%\assembly\GAC_MSIL\"
set Gac4path="%WinDir%\Microsoft.NET\assembly\GAC_MSIL\"
if '%vsver%'=='vs2008' goto vs2008
if '%vsver%'=='vs2010' goto vs2010
if '%vsver%'=='vs2012' goto vs2012
if '%vsver%'=='vs2013' goto vs2013
:vs2013
set sn="%ProgramFiles%\Microsoft SDKs\Windows\v8.0A\Bin\NETFX 4.0 Tools\sn.exe"
set gacutil="%ProgramFiles%\Microsoft SDKs\Windows\v8.0A\Bin\NETFX 4.0 Tools\gacutil.exe"
set csharptemplates="%ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE\ProjectTemplates\CSharp\DevExpress XAF\"
set vbtemplates="%ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE\ProjectTemplates\VisualBasic\DevExpress XAF\"
set devenv="%ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE\"
goto end
goto end
:vs2012
set sn="%ProgramFiles%\Microsoft SDKs\Windows\v8.0A\Bin\NETFX 4.0 Tools\sn.exe"
set gacutil="%ProgramFiles%\Microsoft SDKs\Windows\v8.0A\Bin\NETFX 4.0 Tools\gacutil.exe"
set csharptemplates="%ProgramFiles%\Microsoft Visual Studio 11.0\Common7\IDE\ProjectTemplates\CSharp\DevExpress XAF\"
set vbtemplates="%ProgramFiles%\Microsoft Visual Studio 11.0\Common7\IDE\ProjectTemplates\VisualBasic\DevExpress XAF\"
set devenv="%ProgramFiles%\Microsoft Visual Studio 11.0\Common7\IDE\"
goto end
goto end
:vs2008
set sn="%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\Bin\sn.exe"
set gacutil="%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\Bin\gacutil.exe"
set csharptemplates="%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\CSharp\DevExpress XAF\"
set vbtemplates="%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\VisualBasic\DevExpress XAF\"
set devenv="%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\"
goto end
:vs2010
set sn="%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\Bin\sn.exe"
set gacutil="%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\gacutil.exe"
set csharptemplates="%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\DevExpress XAF\"
set vbtemplates="%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\VisualBasic\DevExpress XAF\"
set devenv="%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\"
goto end
:end