Commit Graph

3 Commits

Author SHA1 Message Date
d0ddf00fc2 Use delayed expansion and enhance publish options
Updated the `publish.bat` script to use delayed expansion (`!OUTPUT!`) for the `OUTPUT` variable to ensure correct value handling in block contexts. Updated the "Removed" message to use delayed expansion for consistency.

Added two new parameters to the `dotnet publish` command:
- `-p:WasmBuildNative=true` to enable native WebAssembly builds.
- `-m:4` to set the maximum degree of parallelism to 4 for improved build performance.
2026-11-17 14:45:09 +01:00
01cd8b2607 Improve publish script with dynamic versioning
Added dynamic version resolution from the `<Version>` tag in the
`.csproj` file, enabling versioned output directories. Updated
`setlocal` to use `enabledelayedexpansion` for better variable
handling. Enhanced logging of build parameters and streamlined
the "Publishing" step by removing redundant logs.

Improved output verification with additional checks for critical
files (`hostfxr.dll`, `coreclr.dll`, etc.), logging failures if
files are missing. Updated success messages to include the
resolved version and generalized next-step instructions.
2026-09-21 14:17:49 +02:00
77379265c2 Add dotnet-tools.json and publish script for .NET 8
Added a `dotnet-tools.json` file to define a .NET tool manifest, specifying the `dotnet-ef` tool with version `10.0.9`.

Introduced a `publish.bat` script for publishing the `EnvelopeGenerator.Server` project as a self-contained application targeting `win-x64` and .NET 8. The script handles cleaning, publishing, output verification, and provides deployment instructions for IIS.

Updated the `EnvelopeGenerator.sln` file to include a reference to the `publish.bat` script under the `EnvelopeGenerator.Server` project using a `SolutionItems` section.
2026-07-02 15:53:49 +02:00