mirror of
https://github.com/PacktPublishing/Learn-WinUI-3-Second-Edition.git
synced 2026-06-20 12:23:09 +00:00
83 lines
3.7 KiB
XML
83 lines
3.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net7.0</TargetFramework>
|
|
<NoWarn>$(NoWarn);NU1504;NU1505;NU1701</NoWarn>
|
|
<!-- Disabled due to issue with Central Package Management with implicit using -->
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<WasmPWAManifestFile>manifest.webmanifest</WasmPWAManifestFile>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<!--
|
|
Supports Deep Linking Routes
|
|
https://aka.platform.uno/wasm-deeplink
|
|
-->
|
|
<WasmShellWebAppBasePath>/</WasmShellWebAppBasePath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
|
<MonoRuntimeDebuggerEnabled>true</MonoRuntimeDebuggerEnabled>
|
|
<DefineConstants>$(DefineConstants);TRACE;DEBUG</DefineConstants>
|
|
<DebugType>portable</DebugType>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<!--
|
|
IL Linking is disabled in Debug configuration.
|
|
When building in Release, see https://platform.uno/docs/articles/features/using-il-linker-WebAssembly.html
|
|
-->
|
|
<WasmShellILLinkerEnabled>false</WasmShellILLinkerEnabled>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
<!-- XAML Resource trimming https://aka.platform.uno/xaml-trimming -->
|
|
<!--<UnoXamlResourcesTrimming>true</UnoXamlResourcesTrimming>-->
|
|
<!-- Improve performance with AOT builds https://aka.platform.uno/wasm-aot -->
|
|
<!-- <WasmShellMonoRuntimeExecutionMode>InterpreterAndAOT</WasmShellMonoRuntimeExecutionMode> -->
|
|
<!-- Temporarily uncomment to generate an AOT profile https://aka.platform.uno/wasm-aot-profile -->
|
|
<!-- <WasmShellGenerateAOTProfile>true</WasmShellGenerateAOTProfile> -->
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Content Include="manifest.webmanifest" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="WasmCSS\Fonts.css" />
|
|
<EmbeddedResource Include="WasmScripts\AppManifest.js" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<LinkerDescriptor Include="LinkerConfig.xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!--
|
|
This item group is required by the project template because of the
|
|
new SDK-Style project, otherwise some files are not added automatically.
|
|
|
|
You can safely remove this ItemGroup completely.
|
|
-->
|
|
<None Include="Program.cs" />
|
|
<None Include="LinkerConfig.xml" />
|
|
<None Include="wwwroot\web.config" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Windows.Compatibility" />
|
|
<PackageReference Include="Uno.Wasm.Bootstrap" />
|
|
<PackageReference Include="Uno.Wasm.Bootstrap.DevServer" />
|
|
<PackageReference Include="Uno.WinUI.WebAssembly" />
|
|
<PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" />
|
|
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
|
|
<PackageReference Include="CommunityToolkit.Mvvm" />
|
|
<PackageReference Include="Uno.Extensions.Configuration" />
|
|
<PackageReference Include="Uno.Extensions.Http" />
|
|
<PackageReference Include="Uno.Extensions.Http.Refit" />
|
|
<PackageReference Include="Uno.Extensions.Logging.WebAssembly.Console" />
|
|
<PackageReference Include="Uno.Extensions.Logging.WinUI" />
|
|
<PackageReference Include="Uno.Extensions.Serialization.Http" />
|
|
<PackageReference Include="Uno.Extensions.Serialization.Refit" />
|
|
<PackageReference Include="Uno.Extensions.Toolkit.WinUI" />
|
|
<PackageReference Include="Uno.Toolkit.WinUI" />
|
|
<PackageReference Include="Uno.Extensions.Hosting.WinUI" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\UnoMediaCollection\UnoMediaCollection.csproj" />
|
|
<ProjectReference Include="..\UnoMediaCollection.DataContracts\UnoMediaCollection.DataContracts.csproj" />
|
|
</ItemGroup>
|
|
<Import Project="..\UnoMediaCollection.Base\base.props" />
|
|
</Project>
|