REM Build script for inserting the tlb into the dll.

ECHO
CLS

SETLOCAL
PUSHD %VS80COMNTOOLS%
@call vsvars32.bat
POPD

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Vbc.exe /t:library /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Data,System.Diagnostics,System.Linq /optionstrict:custom /nowarn:41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42353,42354,42355 /optioninfer+ /nostdlib /platform:x64 /rootnamespace:DIN /sdkpath:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /doc:obj\Release\DIN.xml /define:"CONFIG=\"Release\",TRACE=-1,_MyType=\"Windows\",PLATFORM=\"x64\",Win32=True" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.XML.dll" /main:DIN.Module1 /debug- /keyfile:DIN.snk /out:obj\Release\DIN.dll /target:library AssemblyInfo.vb PZL.vb /win32resource:DIN.res

copy obj\release\DIN.dll bin\DIN.dll /y

ENDLOCAL

ECHO Compile Complete
