You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
664 B
17 lines
664 B
9 years ago
|
@echo off
|
||
|
|
||
|
rem get parameters that are passed by visual studio post build event
|
||
|
SET outDllPath=%1
|
||
|
|
||
|
rem make sure the initial working directory is the one containing the current script
|
||
|
SET scriptPath=%~dp0
|
||
|
SET initialWD=%CD%
|
||
|
|
||
|
rem generate the MDB file needed by Monodevelop and UnityVS for debugging
|
||
|
rem see http://forum.kerbalspaceprogram.com/index.php?/topic/102909-ksp-plugin-debugging-for-visual-studio-and-monodevelop-on-all-os/&page=1 for information on how to setup your debugging environment
|
||
|
echo "Aerostats.dll -> %outDllPath%Aerostats.dll.mdb"
|
||
|
cd %outDllPath%
|
||
|
cmd /C "c:\Program Files (x86)\Mono\bin\pdb2mdb" Aerostats.dll
|
||
|
|
||
|
cd %initialWD%
|