76 lines
3.1 KiB
XML
76 lines
3.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0-windows10.0.19041.0</TargetFramework>
|
|
<OutputType>WinExe</OutputType>
|
|
<UseMaui>true</UseMaui>
|
|
<SingleProject>true</SingleProject>
|
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<WindowsPackageType>None</WindowsPackageType>
|
|
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
|
|
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
<Platforms>x64</Platforms>
|
|
|
|
<EnableWindowsTargeting>true</EnableWindowsTargeting>
|
|
<GenerateDefaultValueAttribute>false</GenerateDefaultValueAttribute>
|
|
<GenerateDocumentationFile>False</GenerateDocumentationFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<Optimize>False</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
|
|
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- Remove any old/fixed version pins if present -->
|
|
<!-- Update or add these with exact or minimum version -->
|
|
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.120" />
|
|
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="9.0.120" />
|
|
<!-- if you use it -->
|
|
<PackageReference Include="Microsoft.Maui.Core" Version="9.0.120" />
|
|
<!-- optional but good to align -->
|
|
|
|
<!-- Keep or add the toolkit -->
|
|
<PackageReference Include="CommunityToolkit.Maui" Version="12.3.0" />
|
|
|
|
<!-- Fix WindowsAppSDK if needed (usually follows MAUI) -->
|
|
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.250909003" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<MauiAsset Include="Resources\Raw\appsettings.json" LogicalName="appsettings.json" />
|
|
<MauiFont Include="Resources\Fonts\*" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- <PackageReference Include="SdkApi.Core" Version="2.0.0" />
|
|
<PackageReference Include="SdkApi.Card.Core" Version="2.0.0" />
|
|
<PackageReference Include="SdkApi.Desktop" Version="2.0.0" />-->
|
|
<Reference Include="SdkApi.Core">
|
|
<HintPath>Libs\zebra\Sdk\SdkApi.Core.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="SdkApi.Card.Core">
|
|
<HintPath>Libs\zebra\Sdk\SdkApi.Card.Core.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="SdkApi.Desktop">
|
|
<HintPath>Libs\zebra\Sdk\SdkApi.Desktop.dll</HintPath>
|
|
</Reference>
|
|
<!--
|
|
<Content Include="Libs\zebra\Sdk\*.dll">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
<Link>%(Filename)%(Extension)</Link>
|
|
</Content> -->
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<MauiXaml Update="Resources\Themes\DarkTheme.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
</ItemGroup>
|
|
<!-- XAML files are compiled by the MAUI SDK implicitly; no explicit MauiXaml item includes to avoid duplicate resources -->
|
|
</Project>
|