Initial commit: BizTalk IIS inventory with DOCX reporting
Build und Test / build (push) Has been cancelled

This commit is contained in:
2026-07-24 15:32:18 +02:00
commit d326341488
27 changed files with 4776 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
@echo off
setlocal EnableExtensions
set "ROOT=%~dp0.."
set "SOLUTION=%ROOT%\BizTalkIisEnvironmentInventory.sln"
if not defined MSBUILD (
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
if exist "%VSWHERE%" (
for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe`) do (
set "MSBUILD=%%i"
goto :found_msbuild
)
)
)
:found_msbuild
if not defined MSBUILD (
for /f "tokens=*" %%i in ('where msbuild 2^>nul') do (
set "MSBUILD=%%i"
goto :found_msbuild_path
)
)
:found_msbuild_path
if not defined MSBUILD (
echo FEHLER: MSBuild fehlt. Visual Studio 2022 Build Tools und .NET Framework 4.7.2 Developer Pack installieren.
exit /b 2
)
echo Verwende MSBuild: %MSBUILD%
"%MSBUILD%" "%SOLUTION%" /m /restore /p:Configuration=Release /p:Platform="Any CPU"
if errorlevel 1 exit /b %ERRORLEVEL%
echo Fuehre Tests aus ...
"%ROOT%\tests\BizTalkIisEnvironmentInventory.Tests\bin\Release\net472\BizTalkIisEnvironmentInventory.Tests.exe"
if errorlevel 1 exit /b %ERRORLEVEL%
echo Fuehre Self-Test der Anwendung aus ...
"%ROOT%\src\BizTalkIisEnvironmentInventory\bin\Release\net472\BizTalkIisEnvironmentInventory.exe" --self-test
exit /b %ERRORLEVEL%
+24
View File
@@ -0,0 +1,24 @@
@echo off
setlocal EnableExtensions
set "ROOT=%~dp0.."
set "BIN=%ROOT%\src\BizTalkIisEnvironmentInventory\bin\Release\net472"
set "ARTIFACTS=%ROOT%\artifacts"
set "DEPLOY=%ARTIFACTS%\BizTalkIisEnvironmentInventory-deploy"
call "%ROOT%\scripts\build-release.cmd"
if errorlevel 1 exit /b %ERRORLEVEL%
if exist "%DEPLOY%" rmdir /s /q "%DEPLOY%"
mkdir "%DEPLOY%"
copy "%BIN%\BizTalkIisEnvironmentInventory.exe" "%DEPLOY%\" >nul
copy "%BIN%\BizTalkIisEnvironmentInventory.exe.config" "%DEPLOY%\" >nul
if exist "%BIN%\BizTalkIisEnvironmentInventory.pdb" copy "%BIN%\BizTalkIisEnvironmentInventory.pdb" "%DEPLOY%\" >nul
copy "%ROOT%\deployment\run-inventory.cmd" "%DEPLOY%\" >nul
copy "%ROOT%\Readme.md" "%DEPLOY%\" >nul
copy "%ROOT%\Dokumentation.md" "%DEPLOY%\" >nul
echo Deployment-Ordner erstellt:
echo %DEPLOY%
exit /b 0