This commit is contained in:
James Clancey 2022-01-10 15:46:05 -09:00
Родитель 5cec7ca62f
Коммит cd84f60af6
3 изменённых файлов: 11 добавлений и 29 удалений

Просмотреть файл

@ -4,6 +4,7 @@
<TargetFrameworks>net6.0;net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks>
<OutputType>Library</OutputType>
<RootNamespace>Comet.Samples</RootNamespace>
<AssemblyName>Comet.Samples</AssemblyName>
<SingleProject>true</SingleProject>

Просмотреть файл

@ -16,6 +16,7 @@
<!-- Required for C# Hot Reload -->
<UseInterpreter Condition="'$(Configuration)' == 'Debug'">True</UseInterpreter>
<_FastDeploymentDiagnosticLogging>True</_FastDeploymentDiagnosticLogging>
<WarningsNotAsErrors>CA1416</WarningsNotAsErrors>
</PropertyGroup>
<ItemGroup Condition=" $(TargetFramework.Contains('-windows')) ">
<PackageReference Include="Microsoft.WindowsAppSDK" />

Просмотреть файл

@ -1,28 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project>
<PropertyGroup>
<!-- Required - Enable Launch Profiles for .NET 6 iOS/Android -->
<_KeepLaunchProfiles>true</_KeepLaunchProfiles>
</PropertyGroup>
<ItemGroup>
<!-- Required - Setup Single Project features -->
<ProjectCapability Include="MauiSingleProject" />
<!-- Optional - Enables a list of TFM's and device categories in the debug menu -->
<!-- This allows easily toggling of debug target TFM by selecting the platform -->
<!-- If removed, Top level debug targets show as a list of devices for the selected TFM -->
<ProjectCapability Include="XamarinStaticLaunchProfiles" />
</ItemGroup>
<!-- Required - Overwrite tasks that are not needed when multitargeting -->
<Target Name="ValidateWinUIPlatform" />
<Target Name="BinPlaceBootstrapDll" />
<Import Project="../../External/Maui/.nuspec/Microsoft.Maui.Resizetizer.targets" />
<Import Project="../../External/Maui/.nuspec/Microsoft.Maui.Controls.DefaultItems.targets" />
<Import Project="../../External/Maui/.nuspec/Microsoft.Maui.Controls.targets" />
<Import Project="../../External/Maui/.nuspec/Microsoft.Maui.Core.targets" />
<Import Project="../../External/Maui/Directory.Build.targets" />
<Import Project="../../Directory.Build.targets" />
</Project>