
set VERSION=1.2006.4.13

aximp LsCaptureCtrl.dll /out:AxLsCaptureCtrl.dll /source
echo [assembly: System.Reflection.AssemblyVersion("%VERSION%")] > newver.txt
..\FileMerger newver.txt AxLsCaptureCtrl.cs -11 AxLsCaptureCtrl-temp.cs
..\FileMerger ..\toolbox.txt AxLsCaptureCtrl-temp.cs 15 AxLsCaptureCtrl-good.cs
del *.pdb
csc /t:library /r:LsCaptureCtrlLib.dll /r:stdole.dll /out:AxLsCaptureCtrl.dll AxLsCaptureCtrl-good.cs
..\ILMerge AxLsCaptureCtrl.dll stdole.dll LsCaptureCtrllib.dll  /out:SmithsHeimann.dll /ver:%VERSION%


del AxLsCaptureCtrl.dll
del LSCAPTURECTRLLib.dll
del stdole.dll

del *.pdb
del *.cs
del newver.txt

set VERSION=
