diff options
author | Justin Clark-Casey (justincc) | 2013-11-08 21:13:05 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-11-08 21:13:05 +0000 |
commit | ea9e96dd50d22e5e1003b675c4148d59df7ec989 (patch) | |
tree | daf3d96e219b1f4c91c105f738e0467350fb1a69 /runprebuild.bat | |
parent | minor: Make PID file example in Robust.HG.ini more meaningful as is now the c... (diff) | |
download | opensim-SC_OLD-ea9e96dd50d22e5e1003b675c4148d59df7ec989.zip opensim-SC_OLD-ea9e96dd50d22e5e1003b675c4148d59df7ec989.tar.gz opensim-SC_OLD-ea9e96dd50d22e5e1003b675c4148d59df7ec989.tar.bz2 opensim-SC_OLD-ea9e96dd50d22e5e1003b675c4148d59df7ec989.tar.xz |
Update OpenSimulator to use .NET 4.0
This allows region modules to register script functions that have more than a couple of arguments.
It also allows OpenSimulator code to use the feature and syntax additions that came with .NET 4.0
Windows users will need to install Microsoft .NET 4 framework if they have not done so already.
Windows C# Express 2010 also becomes the minimum IDE for build, so runprebuild.bat now generates a 2010 solution and runprebuild2010.bat goes away
Official minimum mono version becomes 2.10.8.1. OpenSimulator will probably work with 2.8 later but this is not guaranteed.
Diffstat (limited to 'runprebuild.bat')
-rwxr-xr-x | runprebuild.bat | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/runprebuild.bat b/runprebuild.bat index 8927e9a..0fd7bbf 100755 --- a/runprebuild.bat +++ b/runprebuild.bat | |||
@@ -1,4 +1,24 @@ | |||
1 | @echo OFF | ||
2 | |||
1 | bin\Prebuild.exe /target nant | 3 | bin\Prebuild.exe /target nant |
2 | bin\Prebuild.exe /target vs2008 | 4 | bin\Prebuild.exe /target vs2010 |
3 | echo C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild opensim.sln > compile.bat | 5 | |
6 | setlocal ENABLEEXTENSIONS | ||
7 | set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" | ||
8 | set VALUE_NAME=MSBuildToolsPath | ||
9 | |||
10 | FOR /F "usebackq skip=4 tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul`) DO ( | ||
11 | set ValueName=%%A | ||
12 | set ValueType=%%B | ||
13 | set ValueValue=%%C | ||
14 | ) | ||
15 | |||
16 | if defined ValueName ( | ||
17 | @echo Value Name = %ValueName% | ||
18 | @echo Value Type = %ValueType% | ||
19 | @echo Value Value = %ValueValue% | ||
20 | ) else ( | ||
21 | @echo %KEY_NAME%\%VALUE_NAME% not found. | ||
22 | ) | ||
4 | 23 | ||
24 | @echo %ValueValue%\msbuild opensim.sln > compile.bat | ||