Cleanup
This commit is contained in:
Родитель
5cec7ca62f
Коммит
cd84f60af6
|
@ -3,7 +3,8 @@
|
|||
<PropertyGroup>
|
||||
<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>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>CometSample</RootNamespace>
|
||||
<SingleProject>true</SingleProject>
|
||||
<IsPackable>false</IsPackable>
|
||||
<IsPackable>false</IsPackable>
|
||||
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
|
||||
<!-- Display name -->
|
||||
<ApplicationTitle>CometSample</ApplicationTitle>
|
||||
|
@ -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" />
|
||||
|
@ -36,9 +37,9 @@
|
|||
<ProjectReference Include="..\Comet.Samples\Comet.Samples-net6.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Update="Resources\Images\turtlerock.jpg">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Resources\Images\turtlerock.jpg">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition="$(TargetFramework.Contains('-windows'))">
|
||||
<OutputType>WinExe</OutputType>
|
||||
|
|
|
@ -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/.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>
|
Загрузка…
Ссылка в новой задаче