Skip to content

Commit

Permalink
Add MSIX packaging to projects and reformat XML
Browse files Browse the repository at this point in the history
Updated `openHAB.Common.csproj` and `openHAB.Core.Client.csproj` to include the `<WindowsPackageType>MSIX</WindowsPackageType>` property, enabling MSIX packaging format for Windows applications. Reformatted XML in `openHAB.Common.csproj` to use tabs instead of spaces for indentation.

Signed-off-by: Christoph Hofmann <[email protected]>
  • Loading branch information
hoffe86 committed Dec 15, 2024
1 parent e1c17ef commit c5ac812
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/openHAB.Common/openHAB.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<RootNamespace>openHAB.Common</RootNamespace>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<UseWinUI>true</UseWinUI>
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<RootNamespace>openHAB.Common</RootNamespace>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<UseWinUI>true</UseWinUI>
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
<WindowsPackageType>MSIX</WindowsPackageType>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.241114003" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.241114003" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/openHAB.Core.Client/openHAB.Core.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
<RootNamespace>$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
<WindowsPackageType>MSIX</WindowsPackageType>
</PropertyGroup>
<ItemGroup>
<Content Include="Schema\openhab-schema.json" />
Expand Down

0 comments on commit c5ac812

Please sign in to comment.