Add IIS publish profile for .NET 8.0 web application

Added a new `IISProfile.pubxml` configuration file to enable
publishing the web application as a package. Configured the
build to use the `Release` configuration and `Any CPU`
platform. Set the target framework to `.NET 8.0` and defined
the IIS deployment path as `JobRunner.WebCron`. The package
is created as a single file and includes the `App_Data`
folder. Specified the desktop build package location and
added a unique project GUID for identification.
This commit is contained in:
2026-08-05 09:30:20 +02:00
parent d7c8607fbf
commit 94c2495515

View File

@@ -0,0 +1,18 @@
<?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>c60bc965-d293-ea64-b153-1941f0648df4</ProjectGuid>
<DesktopBuildPackageLocation>M:\App&amp;Service\0 DD - Smart UP\JobRunner\PreRelease\WebCron\net8\$(Version)\JobRunner.WebCron.zip</DesktopBuildPackageLocation>
<PackageAsSingleFile>true</PackageAsSingleFile>
<DeployIisAppPath>JobRunner.WebCron</DeployIisAppPath>
<_TargetId>IISWebDeployPackage</_TargetId>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
</Project>