xamarin-macios/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Common.props

101 строка
5.5 KiB
Plaintext
Исходник Обычный вид История

2016-04-21 16:40:25 +03:00
<!--
***********************************************************************************************
Xamarin.Mac.Common.props
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
This file defines default properties for iOS projects.
Copyright (C) 2013-2014 Xamarin. All rights reserved.
***********************************************************************************************
-->
<!-- Unlike Xamarin.Mac.Common.targets, which is not shared by the ObjC Bindings targets (yet),
Xamarin.Mac.Common.props is shared and truely common. -->
2016-04-21 16:40:25 +03:00
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).Before.props"
Condition="Exists('$(MSBuildThisFileDirectory)$(MSBuildThisFileName).Before.props')"/>
<!-- This is used to determine whether Xamarin.Mac.Common.targets needs to import
Xamarin.Mac.Common.props itself, or whether it has been imported previously,
e.g. by the project itself. -->
<PropertyGroup>
<_XamarinCommonPropsHasBeenImported>true</_XamarinCommonPropsHasBeenImported>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)Xamarin.Shared.props" />
<!-- Story-time! MigrateToNewXMIdentifier is special because it un-does a lie we started telling from the
beginning of Full (called Xamarin.Mac 4.5 back then). Back then, we released Modern (called Mobile) and
when many customers upgraded from Classic they broke in terrible ways as none of their nugets worked.
No nugets in the wild had heard of the Xamarin.Mac TFI and thus didn't support it. To "fix" this use case,
we created Full (XM 4.5) and _lied_ with our TFI claiming to be .NETFramework. Well we were close enough
for a vast majority of packages to work. However, this made creating Full specific package flavors impossible.
Now that we're getting "real" nuget support, we need to stop lying without breaking the world. We're starting by
allowing "opt-in" MigrateToNewXMIdentifier which will swap your declared TFI to the new hotness.
-->
<PropertyGroup Condition=" '$(MigrateToNewXMIdentifier)' == 'true' And '$(TargetFrameworkIdentifier)' != 'Xamarin.Mac' And '$(UseXamMacFullFramework)' == 'true' ">
<TargetFrameworkIdentifier>Xamarin.Mac.NET</TargetFrameworkIdentifier>
</PropertyGroup>
<PropertyGroup>
<!-- Opt-in to filter out assemblies denied loading by mono, to avoid bundling them.
This should only be for non-Modern profiles, since people who are recompiling for
Modern aren't shipping windows bits.
-->
<FilterDeniedAssemblies Condition="'$(TargetFrameworkIdentifier)' != 'Xamarin.Mac'">true</FilterDeniedAssemblies>
</PropertyGroup>
2016-04-21 16:40:25 +03:00
<!-- When looking for related files to copy, look for Mono debugging files as well -->
<PropertyGroup>
<AllowedReferenceRelatedFileExtensions>
$(AllowedReferenceRelatedFileExtensions);
.dll.mdb;
2017-02-07 16:39:17 +03:00
.exe.mdb;
.pdb
2016-04-21 16:40:25 +03:00
</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<PropertyGroup>
<CodesignProvision Condition="'$(CodesignProvision)' == ''"></CodesignProvision>
<CodesignEntitlements Condition="'$(CodesignEntitlements)' == ''"></CodesignEntitlements>
<CodesignResourceRules Condition="'$(CodesignResourceRules)' == ''"></CodesignResourceRules>
<CodesignExtraArgs Condition="'$(CodesignExtraArgs)' == ''"></CodesignExtraArgs>
2016-04-21 16:40:25 +03:00
<CreatePackage Condition="'$(CreatePackage)' == ''">false</CreatePackage>
<HttpClientHandler Condition="'$(HttpClientHandler)' == ''">HttpClientHandler</HttpClientHandler>
<EnablePackageSigning Condition="'$(EnablePackageSigning)' == ''">false</EnablePackageSigning>
<PackageSigningKey Condition="'$(PackageSigningKey)' == ''"></PackageSigningKey>
<ProductDefinition Condition="'$(ProductDefinition)' == ''"></ProductDefinition>
<PackagingExtraArgs Condition="'$(PackagingExtraArgs)' == ''"></PackagingExtraArgs>
<I18n Condition="'$(I18n)' == ''"></I18n>
<IncludeMonoRuntime Condition="'$(IncludeMonoRuntime)' == ''">true</IncludeMonoRuntime>
<IsAppExtension Condition="'$(IsAppExtension)' == ''">False</IsAppExtension>
<EnableSGenConc Condition="'$(EnableSGenConc)' == ''">false</EnableSGenConc>
<AotScope Condition="'$(AotScope)' == ''">None</AotScope>
<ArchiveOnBuild Condition="'$(ArchiveOnBuild)' == ''">False</ArchiveOnBuild>
<Profiling Condition="'$(MtouchProfiling)' == ''">False</Profiling>
2016-04-21 16:40:25 +03:00
</PropertyGroup>
<PropertyGroup>
<IsMacEnabled>true</IsMacEnabled>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFrameworkName)' == 'Full'">
<AssemblySearchPaths>$(_XamarinSdkRoot)/lib/reference/full;$(_XamarinSdkRoot)/lib/mono;$(AssemblySearchPaths)</AssemblySearchPaths>
<ImplicitlyExpandNETStandardFacades>False</ImplicitlyExpandNETStandardFacades>
</PropertyGroup>
<!-- Do not resolve from the GAC in Modern or Full unless allow-unsafe-gac-resolution is passed in -->
<PropertyGroup Condition="'$(TargetFrameworkName)' != 'System' And !$(_BundlerArguments.Contains('--allow-unsafe-gac-resolution'))" >
<AssemblySearchPaths>$([System.String]::Copy('$(AssemblySearchPaths)').Replace('{GAC}',''))</AssemblySearchPaths>
<AssemblySearchPaths Condition="'$(MSBuildRuntimeVersion)' != ''">$(AssemblySearchPaths.Split(';'))</AssemblySearchPaths>
</PropertyGroup>
2016-04-21 16:40:25 +03:00
<Import Project="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).After.props"
Condition="Exists('$(MSBuildThisFileDirectory)$(MSBuildThisFileName).After.props')"/>
</Project>