Add IIS publish profile for .NET 8.0 deployment

Added or modified `IISProfileNet8.pubxml` to define publishing settings for a .NET application targeting the `net8.0` framework. Key configurations include:

- `WebPublishMethod` set to `Package` for deployment packaging.
- `LastUsedBuildConfiguration` set to `Release`.
- `LaunchSiteAfterPublish` enabled.
- `DesktopBuildPackageLocation` specifies output path with version placeholder.
- `PackageAsSingleFile` enabled for single-file packaging.
- `DeployIisAppPath` set to `EnvelopeGenerator`.
- `TargetFramework` set to `net8.0`.
- `SelfContained` enabled with `RuntimeIdentifier` set to `win-x64`.
- `EnvironmentName` set to `Production`.
This commit is contained in:
2026-11-16 16:55:25 +01:00
parent ef39263f82
commit c53bd9ceaf

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<WebPublishMethod>Package</WebPublishMethod>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<ExcludeApp_Data>false</ExcludeApp_Data>
<ProjectGuid>5e0e17c0-ff5a-4246-bf87-1add85376a27</ProjectGuid>
<DesktopBuildPackageLocation>M:\App&amp;Service\0 DD - Funktionsmodule\MessagingService\PreRelease\API\net8\$(Version)\DigitalData.MessagingService.API.zip</DesktopBuildPackageLocation>
<PackageAsSingleFile>true</PackageAsSingleFile>
<DeployIisAppPath>EnvelopeGenerator</DeployIisAppPath>
<_TargetId>IISWebDeployPackage</_TargetId>
<TargetFramework>net8.0</TargetFramework>
<SelfContained>true</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<EnvironmentName>Production</EnvironmentName>
</PropertyGroup>
</Project>