You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
parent
4bdbaf4a88
commit
966bba02bb
@@ -0,0 +1,40 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.Core.props
|
||||
|
||||
Contains common properties that are shared by all portable library projects regardless of version.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Import Project="VisualStudio\v$(VisualStudioVersion)\Microsoft.Portable.CurrentVersion.props" Condition="Exists('VisualStudio\v$(VisualStudioVersion)\Microsoft.Portable.CurrentVersion.props')"/>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetPlatformIdentifier>Portable</TargetPlatformIdentifier>
|
||||
<TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier>
|
||||
<TargetFrameworkMonikerDisplayName>.NET Portable Subset</TargetFrameworkMonikerDisplayName>
|
||||
|
||||
<!-- Automatically reference all assemblies in the target framework -->
|
||||
<ImplicitlyExpandTargetFramework Condition="'$(ImplicitlyExpandTargetFramework)' == '' AND '$(PortableNuGetMode)' != 'true'">true</ImplicitlyExpandTargetFramework>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Redefine AssemblySearchPaths to exclude {AssemblyFolders} and {GAC}, these represent .NET-specific locations -->
|
||||
<PropertyGroup>
|
||||
<AssemblySearchPaths Condition="'$(AssemblySearchPaths)' == ''">
|
||||
{CandidateAssemblyFiles};
|
||||
$(ReferencePath);
|
||||
{HintPathFromItem};
|
||||
{TargetFrameworkDirectory};
|
||||
{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)};
|
||||
{RawFileName};
|
||||
$(OutDir)
|
||||
</AssemblySearchPaths>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,87 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.Core.targets
|
||||
|
||||
Contains common targets that are shared by all portable library projects regardless of version.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Import Project="VisualStudio\v$(VisualStudioVersion)\Microsoft.Portable.CurrentVersion.targets" Condition="Exists('VisualStudio\v$(VisualStudioVersion)\Microsoft.Portable.CurrentVersion.targets')"/>
|
||||
|
||||
<Target Name="_CheckForInvalidTargetFrameworkProfile"
|
||||
AfterTargets="_CheckForInvalidConfigurationAndPlatform">
|
||||
|
||||
<Error Condition="'$(TargetFrameworkProfile)' == '' AND '$(PortableNuGetMode)' != 'true'" Text="The TargetFrameworkProfile property is not set for project '$(MSBuildProjectFile)'. Portable projects must specify a profile."/>
|
||||
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
To prevent framework assembly references from being unified to the ones in the full
|
||||
framework (for example, System.Net.Primitives, v3.9.0.0 -> System.Net.Primitives, v4.0.0.0),
|
||||
we set the full framework folder to the profile folder so that RAR thinks that the
|
||||
profile itself is the full framework. Given that we don't actually use our full framework,
|
||||
we do not need any of the warnings from RAR that are turned off because of this.
|
||||
-->
|
||||
<Target Name="_SetFullFrameworkFolderToProfile"
|
||||
AfterTargets="GetReferenceAssemblyPaths">
|
||||
|
||||
<PropertyGroup>
|
||||
<_FullFrameworkReferenceAssemblyPaths>$(TargetFrameworkDirectory)</_FullFrameworkReferenceAssemblyPaths>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<PropertyGroup>
|
||||
<ResolveReferencesDependsOn>
|
||||
$(ResolveReferencesDependsOn);
|
||||
ImplicitlyExpandTargetFramework;
|
||||
</ResolveReferencesDependsOn>
|
||||
|
||||
<ImplicitlyExpandTargetFrameworkDependsOn>
|
||||
$(ImplicitlyExpandTargetFrameworkDependsOn);
|
||||
GetReferenceAssemblyPaths
|
||||
</ImplicitlyExpandTargetFrameworkDependsOn>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
The ImplicitlyExpandTargetFramework target will expand all
|
||||
of the dll reference assemblies in the TargetFrameworkDirectory
|
||||
for the project and place the items into the ReferencePath itemgroup
|
||||
which contains resolved items.
|
||||
-->
|
||||
|
||||
<Target Name="ImplicitlyExpandTargetFramework"
|
||||
Condition="'$(ImplicitlyExpandTargetFramework)' == 'true'"
|
||||
DependsOnTargets="$(ImplicitlyExpandTargetFrameworkDependsOn)"
|
||||
>
|
||||
<ItemGroup>
|
||||
<ReferenceAssemblyPaths Include="$(_TargetFrameworkDirectories)"/>
|
||||
<ReferencePath Include="%(ReferenceAssemblyPaths.Identity)*.dll">
|
||||
<WinMDFile>false</WinMDFile>
|
||||
<CopyLocal>false</CopyLocal>
|
||||
<ReferenceGroupingDisplayName>.NET</ReferenceGroupingDisplayName>
|
||||
<ReferenceGrouping>$(TargetFrameworkIdentifier),$(TargetFrameworkVersion)</ReferenceGrouping>
|
||||
<ResolvedFrom>ImplicitlyExpandTargetFramework</ResolvedFrom>
|
||||
<IsSystemReference>True</IsSystemReference>
|
||||
</ReferencePath>
|
||||
</ItemGroup>
|
||||
|
||||
<Message Importance="Low" Text="TargetMonikerDisplayName: $(TargetFrameworkMonikerDisplayName) ReferenceAssemblyPaths: @(ReferenceAssemblyPaths)"/>
|
||||
|
||||
<Message Importance="Low" Text="Including @(ReferencePath)"
|
||||
Condition="'%(ReferencePath.ResolvedFrom)' == 'ImplicitlyExpandTargetFramework'"/>
|
||||
|
||||
<ItemGroup>
|
||||
<_ResolveAssemblyReferenceResolvedFiles Include="@(ReferencePath)"
|
||||
Condition="'%(ReferencePath.ResolvedFrom)' == 'ImplicitlyExpandTargetFramework'"/>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,20 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.CSharp.targets
|
||||
|
||||
Contains common properties and targets that are shared by all v4.0 Portable Library C# projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Import Project="Microsoft.Portable.Common.targets" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\Microsoft.Portable.Core.targets" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,18 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.Common.targets
|
||||
|
||||
Contains common properties that are shared by all v4.0 Portable Library projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Import Project="..\Microsoft.Portable.Core.props" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,27 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.VisualBasic.targets
|
||||
|
||||
Contains common properties and targets that are shared by all v4.0 Portable Library VB projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Embed the runtime because it is not supported on every downlevel platform -->
|
||||
<VBRuntime>Embed</VBRuntime>
|
||||
<NoConfig>true</NoConfig>
|
||||
<MyType>Empty</MyType>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Microsoft.Portable.Common.targets" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<Import Project="..\Microsoft.Portable.Core.targets" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,20 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.CSharp.targets
|
||||
|
||||
Contains common properties and targets that are shared by all v4.5 Portable Library C# projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Import Project="Microsoft.Portable.Common.targets" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\Microsoft.Portable.Core.targets" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,18 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.Common.targets
|
||||
|
||||
Contains common properties that are shared by all v4.5 Portable Library projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Import Project="..\Microsoft.Portable.Core.props" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,45 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.VisualBasic.targets
|
||||
|
||||
Contains common properties and targets that are shared by all v4.5 Portable Library VB projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<NoConfig>true</NoConfig>
|
||||
<MyType>Empty</MyType>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Turns on VB runtime embedding if not already set and Microsoft.VisualBasic.dll does not exist in the target framework -->
|
||||
<Target
|
||||
Name="GetVBRuntime"
|
||||
BeforeTargets="CoreCompile"
|
||||
Condition="'$(VBRuntime)' == ''">
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Turn TargetFrameworkDirectory (which is a property with one or more directories) into an item -->
|
||||
<_VBRuntimeSearchDirectories Include="$(TargetFrameworkDirectory)" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<_VBRuntimeFound Condition="Exists('%(_VBRuntimeSearchDirectories.Identity)Microsoft.VisualBasic.dll')">true</_VBRuntimeFound>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$(_VBRuntimeFound) != 'true'">
|
||||
<VBRuntime>Embed</VBRuntime>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<Import Project="Microsoft.Portable.Common.targets" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<Import Project="..\Microsoft.Portable.Core.targets" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,23 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.CSharp.targets
|
||||
|
||||
Contains common properties and targets that are shared by all v4.5 Portable Library C# projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PortableEnableXamlTargets>true</PortableEnableXamlTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Microsoft.Portable.Common.targets" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\Microsoft.Portable.Core.targets" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,18 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.Common.targets
|
||||
|
||||
Contains common properties that are shared by all v4.5 Portable Library projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Import Project="..\Microsoft.Portable.Core.props" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,49 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.VisualBasic.targets
|
||||
|
||||
Contains common properties and targets that are shared by all v4.5 Portable Library VB projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<NoConfig>true</NoConfig>
|
||||
<MyType>Empty</MyType>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Turns on VB runtime embedding if not already set and Microsoft.VisualBasic.dll does not exist in the target framework -->
|
||||
<Target
|
||||
Name="GetVBRuntime"
|
||||
BeforeTargets="CoreCompile"
|
||||
Condition="'$(VBRuntime)' == ''">
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Turn TargetFrameworkDirectory (which is a property with one or more directories) into an item -->
|
||||
<_VBRuntimeSearchDirectories Include="$(TargetFrameworkDirectory)" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<_VBRuntimeFound Condition="Exists('%(_VBRuntimeSearchDirectories.Identity)Microsoft.VisualBasic.dll')">true</_VBRuntimeFound>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$(_VBRuntimeFound) != 'true'">
|
||||
<VBRuntime>Embed</VBRuntime>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<PropertyGroup>
|
||||
<PortableEnableXamlTargets>true</PortableEnableXamlTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Microsoft.Portable.Common.targets" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<Import Project="..\Microsoft.Portable.Core.targets" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,23 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.CSharp.targets
|
||||
|
||||
Contains common properties and targets that are shared by all v5.0 Portable Library C# projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PortableEnableXamlTargets>true</PortableEnableXamlTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Microsoft.Portable.Common.targets" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\Microsoft.Portable.Core.targets" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,24 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.Common.targets
|
||||
|
||||
Contains common properties that are shared by all v5.0 Portable Library projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PortableNuGetMode>true</PortableNuGetMode>
|
||||
<NoStdLib>true</NoStdLib>
|
||||
<!--The build requires this list of TFMs to determine what part of the lockfile to use.
|
||||
When it's updated in the future to no longer require it, this list can be removed. -->
|
||||
<NuGetTargetMoniker>.NETPlatform,Version=v5.0;.NETStandard,Version=v1.0;.NETStandard,Version=v1.1;.NETStandard,Version=v1.2;.NETStandard,Version=v1.3;.NETStandard,Version=v1.4;.NETStandard,Version=v1.5;.NETStandard,Version=v1.6</NuGetTargetMoniker>
|
||||
</PropertyGroup>
|
||||
<Import Project="..\Microsoft.Portable.Core.props" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,31 @@
|
||||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.Portable.VisualBasic.targets
|
||||
|
||||
Contains common properties and targets that are shared by all v5.0 Portable Library VB projects.
|
||||
|
||||
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.
|
||||
|
||||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<NoConfig>true</NoConfig>
|
||||
<MyType>Empty</MyType>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- NuGet should add the VB Runtime -->
|
||||
|
||||
<PropertyGroup>
|
||||
<PortableEnableXamlTargets>true</PortableEnableXamlTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Microsoft.Portable.Common.targets" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<Import Project="..\Microsoft.Portable.Core.targets" />
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user