2025-09-26 08:05:37 -05:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<Import Project="..\..\Common.Dotnet.CsWinRT.props" />
|
|
|
|
|
<Import Project="..\..\Common.Dotnet.AotCompatibility.props" />
|
2025-07-15 12:21:44 -05:00
|
|
|
<PropertyGroup>
|
|
|
|
|
<Nullable>enable</Nullable>
|
|
|
|
|
<!-- For MVVM Toolkit Partial Properties/AOT support -->
|
|
|
|
|
<LangVersion>preview</LangVersion>
|
2025-09-26 08:05:37 -05:00
|
|
|
|
|
|
|
|
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\WinUI3Apps\CmdPal\</OutputPath>
|
|
|
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
|
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
|
|
|
<!-- MRT from windows app sdk will search for a pri file with the same name of the module before defaulting to resources.pri -->
|
|
|
|
|
<ProjectPriFileName>$(RootNamespace).pri</ProjectPriFileName>
|
|
|
|
|
|
2025-07-15 12:21:44 -05:00
|
|
|
<!-- Disable SA1313 for Primary Constructor fields conflict https://learn.microsoft.com/dotnet/csharp/programming-guide/classes-and-structs/instance-constructors#primary-constructors -->
|
|
|
|
|
<NoWarn>SA1313;</NoWarn>
|
2025-09-26 08:05:37 -05:00
|
|
|
|
|
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
2025-07-15 12:21:44 -05:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<CsWinRTAotOptimizerEnabled>true</CsWinRTAotOptimizerEnabled>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2025-09-26 08:05:37 -05:00
|
|
|
<ItemGroup>
|
2025-07-15 12:21:44 -05:00
|
|
|
<PackageReference Include="Microsoft.Windows.CsWin32">
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
2025-09-26 08:05:37 -05:00
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
2025-07-15 12:21:44 -05:00
|
|
|
</PackageReference>
|
2025-09-26 08:05:37 -05:00
|
|
|
<PackageReference Include="Microsoft.WindowsAppSDK" />
|
|
|
|
|
<PackageReference Include="Microsoft.Web.WebView2" />
|
|
|
|
|
<!-- This line forces the WebView2 version used by Windows App SDK to be the one we expect from Directory.Packages.props . -->
|
2025-07-15 12:21:44 -05:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2025-09-26 08:05:37 -05:00
|
|
|
<ProjectReference Include="$(MSBuildThisFileDirectory)\extensionsdk\Microsoft.CommandPalette.Extensions.Toolkit\Microsoft.CommandPalette.Extensions.Toolkit.csproj" />
|
2025-07-15 12:21:44 -05:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
2025-09-26 12:46:09 -05:00
|
|
|
<ItemGroup>
|
|
|
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
|
|
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
|
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
|
|
|
</EmbeddedResource>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2025-07-15 12:21:44 -05:00
|
|
|
</Project>
|