-
Notifications
You must be signed in to change notification settings - Fork 89
/
GacReg-4.0.cmd
35 lines (24 loc) · 983 Bytes
/
GacReg-4.0.cmd
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
@echo off
IF "%Type%"=="" set Type=Debug
set GacUtil="%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\gacutil.exe"
set NemerleInstall=%ProgramFiles%\Nemerle\Net-4.0
@echo NemerleInstall=%NemerleInstall%
@echo VSXXXCOMNTOOLS=%VS100COMNTOOLS%
@echo GacUtil=%GacUtil%
md "%NemerleInstall%"
%GacUtil% /u Nemerle
%GacUtil% /u Nemerle.Compiler
%GacUtil% /u Nemerle.MSBuild.Tasks
%GacUtil% /u Nemerle.Macros
IF "%1"=="u" goto end
@echo errorlevel=%errorlevel%
%GacUtil% /i "%NemerleInstall%\Nemerle.dll"
%GacUtil% /i "%NemerleInstall%\Nemerle.Compiler.dll"
%GacUtil% /i "%NemerleInstall%\Nemerle.Macros.dll"
%GacUtil% /i "%NemerleInstall%\policy.1.2.Nemerle.dll"
%GacUtil% /i "%NemerleInstall%\policy.1.2.Nemerle.Compiler.dll"
%GacUtil% /i "%NemerleInstall%\policy.1.2.Nemerle.Macros.dll"
rem It doesn't have a strong name
rem %GacUtil% /i "%NemerleInstall%\Nemerle.MSBuild.Tasks.dll"
:end
IF NOT "%NoPause%"=="true" pause