зеркало из https://github.com/DeGsoft/maui-linux.git
106 строки
6.7 KiB
XML
106 строки
6.7 KiB
XML
<Project>
|
|
<Import Project="eng\Versions.props" />
|
|
|
|
<PropertyGroup>
|
|
<IncludeWindowsTargetFrameworks Condition="($([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full') or ('$(Packing)' == 'true')">true</IncludeWindowsTargetFrameworks>
|
|
<BuildForAndroidOnly Condition="$(SolutionFileName.StartsWith('._Microsoft.Maui.Droid')) and '$(Packing)' == ''">true</BuildForAndroidOnly>
|
|
<BuildForiOSOnly Condition="$(SolutionFileName.StartsWith('._Microsoft.Maui.iOS')) and '$(Packing)' == ''">true</BuildForiOSOnly>
|
|
<BuildForLegacy Condition="($(SolutionFileName.StartsWith('._')) or $(SolutionFileName.StartsWith('Comet'))) and !$(SolutionFileName.Contains('-net6')) and '$(Packing)' == ''">true</BuildForLegacy>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<DefineConstants Condition="$(TargetFramework.Contains('-windows'))">$(DefineConstants);WINDOWS</DefineConstants>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
<!-- <GenerateRuntimeConfigurationFiles>false</GenerateRuntimeConfigurationFiles> -->
|
|
<!-- HACK: WinUI seems to have issues without this -->
|
|
<GenerateLibraryLayout>true</GenerateLibraryLayout>
|
|
<DisableEmbeddedXbf>false</DisableEmbeddedXbf>
|
|
<!-- Workaround: https://github.com/dotnet/sdk/issues/19050 -->
|
|
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
|
|
</PropertyGroup>
|
|
|
|
<!-- version number information -->
|
|
<PropertyGroup>
|
|
<IosTargetFrameworkVersion>13.6</IosTargetFrameworkVersion>
|
|
<TvosTargetFrameworkVersion>13.6</TvosTargetFrameworkVersion>
|
|
<MacCatalystTargetFrameworkVersion>13.5</MacCatalystTargetFrameworkVersion>
|
|
<MacosTargetFrameworkVersion>10.14</MacosTargetFrameworkVersion>
|
|
<AndroidTargetFrameworkVersion>30.0</AndroidTargetFrameworkVersion>
|
|
<WindowsTargetFrameworkVersion>10.0.19041</WindowsTargetFrameworkVersion>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(BuildForLegacy)' != 'True'">
|
|
<!-- the real TFMs -->
|
|
<MauiPlatforms>net6.0-ios;net6.0-maccatalyst;net6.0-android</MauiPlatforms>
|
|
<WindowsMauiPlatforms Condition="'$(WindowsMauiPlatforms)' == ''">net6.0-windows$(WindowsTargetFrameworkVersion)</WindowsMauiPlatforms>
|
|
<MauiPlatforms Condition="'$(IncludeWindowsTargetFrameworks)' == 'true'">$(MauiPlatforms);$(WindowsMauiPlatforms)</MauiPlatforms>
|
|
|
|
<!-- Work around the IDE not properly handling the NU1703 warning -->
|
|
<MauiPlatformsNoMacCat>net6.0-ios;net6.0-android</MauiPlatformsNoMacCat>
|
|
<MauiPlatformsNoMacCat Condition="'$(IncludeWindowsTargetFrameworks)' == 'true'">$(MauiPlatformsNoMacCat);$(WindowsMauiPlatforms)</MauiPlatformsNoMacCat>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(BuildForLegacy)' == 'true'">
|
|
<!-- the legacy TFMs -->
|
|
<MauiPlatforms>Xamarin.iOS10;MonoAndroid10.0</MauiPlatforms>
|
|
<!-- UWP is no longer supported -->
|
|
<WindowsMauiPlatforms></WindowsMauiPlatforms>
|
|
<MauiPlatforms Condition="'$(IncludeWindowsTargetFrameworks)' == 'true'">$(MauiPlatforms);$(WindowsMauiPlatforms)</MauiPlatforms>
|
|
<MauiAdditionalPlatforms>MonoAndroid90;tizen40;Xamarin.Mac20</MauiAdditionalPlatforms>
|
|
|
|
<!-- This is used to easily build for a specific target to make the IDE work a bit better -->
|
|
<MauiPlatforms Condition="'$(BuildForiOSOnly)' == 'true'">Xamarin.iOS10</MauiPlatforms>
|
|
<MauiAdditionalPlatforms Condition="'$(BuildForiOSOnly)' == 'true'"></MauiAdditionalPlatforms>
|
|
<MauiPlatforms Condition="'$(BuildForAndroidOnly)' == 'true'">MonoAndroid10.0</MauiPlatforms>
|
|
<MauiAdditionalPlatforms Condition="'$(BuildForAndroidOnly)' == 'true'"></MauiAdditionalPlatforms>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<MauiRootDirectory>$(MSBuildThisFileDirectory)</MauiRootDirectory>
|
|
<MauiNuSpecDirectory>$(MSBuildThisFileDirectory).nuspec/</MauiNuSpecDirectory>
|
|
<DotNetOutputPath>$(MSBuildThisFileDirectory)bin/</DotNetOutputPath>
|
|
<DotNetTempDirectory>$(DotNetOutputPath)temp/</DotNetTempDirectory>
|
|
<DotNetDirectory>$(DotNetOutputPath)dotnet/</DotNetDirectory>
|
|
<DotNetToolPath>$(DotNetDirectory)dotnet</DotNetToolPath>
|
|
<DotNetPacksDirectory>$(DotNetDirectory)packs/</DotNetPacksDirectory>
|
|
<DotNetLibraryPacksDirectory>$(DotNetDirectory)library-packs/</DotNetLibraryPacksDirectory>
|
|
<DotNetSdkManifestsDirectory>$(DotNetDirectory)sdk-manifests/$(DotNetPreviewVersionBand)/</DotNetSdkManifestsDirectory>
|
|
<DotNetTemplatePacksDirectory>$(DotNetDirectory)template-packs/</DotNetTemplatePacksDirectory>
|
|
<_MauiBuildTasksLocation>$(_MauiBuildTasksLocation)</_MauiBuildTasksLocation>
|
|
<_MauiBuildTasksLocation Condition="'$(_MauiBuildTasksLocation)' == ''">$(MSBuildThisFileDirectory).nuspec\</_MauiBuildTasksLocation>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<DebugType>portable</DebugType>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
|
<Company>Microsoft</Company>
|
|
<Product>Microsoft MAUI</Product>
|
|
<ProduceReferenceAssembly Condition="'$(UsingMicrosoftNETSdk)' == 'True' AND '$(Configuration)' == 'Debug'">True</ProduceReferenceAssembly>
|
|
<ProduceReferenceAssemblyInOutDir>True</ProduceReferenceAssemblyInOutDir>
|
|
<Win2DWarnNoPlatform>false</Win2DWarnNoPlatform>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<GitDefaultBranch>main</GitDefaultBranch>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<Authors>Microsoft</Authors>
|
|
<NeutralLanguage>en</NeutralLanguage>
|
|
<RepositoryUrl>https://github.com/dotnet/maui.git</RepositoryUrl>
|
|
<PackageProjectUrl>https://github.com/dotnet/maui</PackageProjectUrl>
|
|
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
|
|
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
|
|
<PackageVersion>6.0.100-dev</PackageVersion>
|
|
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts</PackageOutputPath>
|
|
</PropertyGroup>
|
|
<!-- This target is replaced by GitInfo when restored. Allows Versions.targets to rely on it before restore. -->
|
|
<Target Name="GitVersion" />
|
|
<Target Name="GitInfo" />
|
|
<Import Condition="'$(EnvironmentBuildPropsImported)' != 'True'" Project="$(MSBuildThisFileDirectory)eng\Environment.Build.props" />
|
|
<Import Condition="'$(SampleProject)' != 'True' and '$(CI)' == 'true'" Project="$(MSBuildThisFileDirectory)eng\SourceLink.Build.props" />
|
|
<ItemGroup Condition="'$(MSBuildVersion)' != '' AND '$(MSBuildVersion)' < '16.7.0' ">
|
|
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="3.9.0" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
</Project>
|