Solution structure reorganised

This commit is contained in:
Bobbie Hodgetts
2019-03-29 18:49:42 +00:00
parent 94b03eed8a
commit 824ebb72ca
24 changed files with 13 additions and 7 deletions

1
build/README.md Normal file
View File

@@ -0,0 +1 @@
Build customizations (custom msbuild files/psake/fake/albacore/etc) scripts

View File

@@ -0,0 +1,23 @@
@set batchpath=%~dp0
@set dllpath=%batchpath%bnhtrade Database Client\bin\Release\
@copy "%dllpath%bnhtradeDatabaseClient.dll" "%SYSTEMROOT%\SysWOW64\bnhtradeDatabaseClient.dll"
@copy "%dllpath%ABrain.AmazonMWS.dll" "%SYSTEMROOT%\SysWOW64\ABrain.AmazonMWS.dll"
@copy "%dllpath%bnhtradeDatabaseClient.dll" "%SYSTEMROOT%\System32\bnhtradeDatabaseClient.dll"
@copy "%dllpath%ABrain.AmazonMWS.dll" "%SYSTEMROOT%\System32\ABrain.AmazonMWS.dll"
@c:
@cd\Windows\Microsoft.NET\Framework\v4.*
regasm.exe /codebase /tlb "bnhtradeDatabaseClient.dll"
regasm.exe /codebase /tlb "ABrain.AmazonMWS.dll"
@cd\Windows\Microsoft.NET\Framework64\v4.*
regasm.exe /codebase /tlb "bnhtradeDatabaseClient.dll"
regasm.exe /codebase /tlb "ABrain.AmazonMWS.dll"
@echo.
@echo Finished running regasm install script.
@echo.
@rem if no arguments passed, pause
@IF "%~1"=="" @pause

View File

@@ -0,0 +1,7 @@
@set mypath=%~dp0
call "%mypath%bnhtradeRegasmUninstall.bat" nopause
call "%mypath%bnhtradeRegasmInstall.bat" nopause
@echo Completed regasm refresh
@echo.
@pause

View File

@@ -0,0 +1,21 @@
@c:
@cd\Windows\Microsoft.NET\Framework\v4.*
regasm.exe /u "bnhtradeDatabaseClient.dll"
@cd\Windows\Microsoft.NET\Framework64\v4.*
regasm.exe /u "bnhtradeDatabaseClient.dll"
@del /q "%SYSTEMROOT%\SysWOW64\bnhtradeDatabaseClient.dll"
@del /q "%SYSTEMROOT%\SysWOW64\bnhtradeDatabaseClient.tlb"
@del /q "%SYSTEMROOT%\SysWOW64\ABrain.AmazonMWS.dll"
@del /q "%SYSTEMROOT%\SysWOW64\ABrain.AmazonMWS.tlb"
@del /q "%SYSTEMROOT%\System32\bnhtradeDatabaseClient.dll"
@del /q "%SYSTEMROOT%\System32\bnhtradeDatabaseClient.tlb"
@del /q "%SYSTEMROOT%\System32\ABrain.AmazonMWS.dll"
@del /q "%SYSTEMROOT%\System32\ABrain.AmazonMWS.tlb"
@echo.
@echo Finished running regasm uninstall script.
@rem if no arguments passed, pause
@echo.
@IF "%~1"=="" @pause