singrdk/base/build/SingSharpRegistration/GacRegInstall.cmd

12 lines
320 B
Batchfile
Raw Permalink Normal View History

2008-11-17 18:29:00 -05:00
@echo off
set FROM=%1
set TO=%2
set PDB=%FROM:~0,-4%.pdb
set ASSEMBLY=%TO:~0,-4%
if exist %2 regasm /nologo /silent /u %2
if exist %2 gacutil /silent /nologo /uf "%ASSEMBLY%" /r FILEPATH %2 "%ASSEMBLY%"
copy /y %1 > nul
if exist %PDB% copy /y %PDB% > nul
gacutil /nologo /i %2
regasm /nologo /codebase %2