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
@@ -20,8 +20,8 @@ else
|
||||
install-local: install-extras
|
||||
endif
|
||||
|
||||
PORTABLE_TARGETS_SRC=../../../external/buildtools/src/Portable/Targets
|
||||
PCL5_FX_SRC=../../../external/buildtools/src/Portable/Frameworks/v5.0
|
||||
PORTABLE_TARGETS_SRC:=data/Portable/Targets
|
||||
PCL5_FX_SRC:=data/Portable/Frameworks/v5.0
|
||||
|
||||
NETFRAMEWORK_DIR=$(mono_libdir)/mono/xbuild-frameworks/.NETFramework
|
||||
PCL5_FX_DIR=$(mono_libdir)/mono/xbuild-frameworks/.NETPortable/v5.0
|
||||
@@ -79,6 +79,8 @@ install-frameworks:
|
||||
$(INSTALL_DATA) frameworks/net_4.6.1.xml $(DESTDIR)$(NETFRAMEWORK_DIR)/v4.6.1/RedistList/FrameworkList.xml
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(NETFRAMEWORK_DIR)/v4.6.2/RedistList
|
||||
$(INSTALL_DATA) frameworks/net_4.6.2.xml $(DESTDIR)$(NETFRAMEWORK_DIR)/v4.6.2/RedistList/FrameworkList.xml
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(NETFRAMEWORK_DIR)/v4.7/RedistList
|
||||
$(INSTALL_DATA) frameworks/net_4.7.xml $(DESTDIR)$(NETFRAMEWORK_DIR)/v4.7/RedistList/FrameworkList.xml
|
||||
|
||||
install-pcl-targets:
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(PORTABLE_TARGETS_DIR)
|
||||
@@ -148,6 +150,24 @@ EXTRA_DISTFILES = \
|
||||
data/Microsoft.VisualBasic.targets \
|
||||
data/MSBuild/Microsoft.Build.CommonTypes.xsd \
|
||||
data/MSBuild/Microsoft.Build.Core.xsd \
|
||||
data/Portable/Targets/Microsoft.Portable.Core.props \
|
||||
data/Portable/Targets/Microsoft.Portable.Core.targets \
|
||||
data/Portable/Targets/v4.0/Microsoft.Portable.Common.targets \
|
||||
data/Portable/Targets/v4.0/Microsoft.Portable.CSharp.targets \
|
||||
data/Portable/Targets/v4.0/Microsoft.Portable.VisualBasic.targets \
|
||||
data/Portable/Targets/v4.5/Microsoft.Portable.Common.targets \
|
||||
data/Portable/Targets/v4.5/Microsoft.Portable.CSharp.targets \
|
||||
data/Portable/Targets/v4.5/Microsoft.Portable.VisualBasic.targets \
|
||||
data/Portable/Targets/v4.6/Microsoft.Portable.Common.targets \
|
||||
data/Portable/Targets/v4.6/Microsoft.Portable.CSharp.targets \
|
||||
data/Portable/Targets/v4.6/Microsoft.Portable.VisualBasic.targets \
|
||||
data/Portable/Targets/v5.0/Microsoft.Portable.Common.targets \
|
||||
data/Portable/Targets/v5.0/Microsoft.Portable.CSharp.targets \
|
||||
data/Portable/Targets/v5.0/Microsoft.Portable.VisualBasic.targets \
|
||||
"data/Portable/Frameworks/v5.0/.NET Framework 4.6.xml" \
|
||||
"data/Portable/Frameworks/v5.0/ASP.NET Core 1.0.xml" \
|
||||
"data/Portable/Frameworks/v5.0/FrameworkList.xml" \
|
||||
"data/Portable/Frameworks/v5.0/Windows Universal 10.0.xml" \
|
||||
frameworks/net_2.0.xml \
|
||||
frameworks/net_3.0.xml \
|
||||
frameworks/net_3.5.xml \
|
||||
@@ -159,6 +179,7 @@ EXTRA_DISTFILES = \
|
||||
frameworks/net_4.6.xml \
|
||||
frameworks/net_4.6.1.xml \
|
||||
frameworks/net_4.6.2.xml \
|
||||
frameworks/net_4.7.xml \
|
||||
targets/Microsoft.WebApplication.targets \
|
||||
$(NUGET_BUILDTASKS_REPO_DIR)/src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportBefore.props \
|
||||
$(NUGET_BUILDTASKS_REPO_DIR)/src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets \
|
||||
|
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Framework
|
||||
Identifier=".NETFramework"
|
||||
Profile="*"
|
||||
MinimumVersion="4.6"
|
||||
Family=".NETFramework"
|
||||
MinimumVisualStudioVersion="14.0"
|
||||
DisplayName=".NET Framework"
|
||||
MinimumVersionDisplayName="4.6"
|
||||
PlatformArchitectures="AnyCPU;x86;x64"
|
||||
IsBuiltIn="true"
|
||||
IsHidden="false">
|
||||
<RetargetData
|
||||
ProjectLanguage="CSharp">
|
||||
<NuGet
|
||||
Identifier="net46.app"
|
||||
PortableTargetMoniker="net452">
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore"
|
||||
Version="5.0.0" />
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore.Portable.Compatibility"
|
||||
Version="1.0.0" />
|
||||
</NuGet>
|
||||
</RetargetData>
|
||||
<RetargetData
|
||||
ProjectLanguage="VisualBasic">
|
||||
<NuGet
|
||||
Identifier="net46.app"
|
||||
PortableTargetMoniker="net452">
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore"
|
||||
Version="5.0.0" />
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore.Portable.Compatibility"
|
||||
Version="1.0.0" />
|
||||
</NuGet>
|
||||
</RetargetData>
|
||||
</Framework>
|
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Framework
|
||||
Identifier="DNXCore"
|
||||
Profile="*"
|
||||
MinimumVersion="5.0"
|
||||
Family="DNXCore"
|
||||
MinimumVisualStudioVersion="14.0"
|
||||
DisplayName="ASP.NET Core"
|
||||
MinimumVersionDisplayName="1.0"
|
||||
PlatformArchitectures="AnyCPU;x86;x64"
|
||||
IsBuiltIn="true"
|
||||
IsHidden="true">
|
||||
<RetargetData
|
||||
ProjectLanguage="CSharp">
|
||||
<NuGet
|
||||
Identifier="dnxcore50.app">
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore"
|
||||
Version="5.0.0" />
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore.Portable.Compatibility"
|
||||
Version="1.0.0" />
|
||||
</NuGet>
|
||||
</RetargetData>
|
||||
<RetargetData
|
||||
ProjectLanguage="VisualBasic">
|
||||
<NuGet
|
||||
Identifier="dnxcore50.app">
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore"
|
||||
Version="5.0.0" />
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore.Portable.Compatibility"
|
||||
Version="1.0.0" />
|
||||
</NuGet>
|
||||
</RetargetData>
|
||||
</Framework>
|
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FileList Redist="Microsoft-Windows-CLRCoreComp.PortableLibrary.5.0" Name=".NET Portable Subset (Visual Studio 2015)" RuntimeVersion="5.0">
|
||||
</FileList>
|
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Framework
|
||||
Identifier=".NETCore"
|
||||
Profile="*"
|
||||
MinimumVersion="5.0"
|
||||
Family="Windows"
|
||||
MinimumVisualStudioVersion="14.0"
|
||||
DisplayName="Windows Universal"
|
||||
MinimumVersionDisplayName="10.0"
|
||||
PlatformArchitectures="AnyCPU;x86;x64;ARM"
|
||||
IsBuiltIn="true"
|
||||
IsHidden="false">
|
||||
<RetargetData
|
||||
ProjectLanguage="CSharp">
|
||||
<NuGet
|
||||
Identifier="uwp.10.0.app"
|
||||
PortableTargetMoniker="win81">
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore"
|
||||
Version="5.0.0" />
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore.Portable.Compatibility"
|
||||
Version="1.0.0" />
|
||||
</NuGet>
|
||||
</RetargetData>
|
||||
<RetargetData
|
||||
ProjectLanguage="VisualBasic">
|
||||
<NuGet
|
||||
Identifier="uwp.10.0.app"
|
||||
PortableTargetMoniker="win81">
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore"
|
||||
Version="5.0.0" />
|
||||
<Package
|
||||
Identifier="Microsoft.NETCore.Portable.Compatibility"
|
||||
Version="1.0.0" />
|
||||
</NuGet>
|
||||
</RetargetData>
|
||||
</Framework>
|
@@ -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>
|
3
mcs/tools/xbuild/frameworks/net_4.7.xml
Normal file
3
mcs/tools/xbuild/frameworks/net_4.7.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FileList Name=".NET Framework 4.7" TargetFrameworkDirectory="..\..\..\..\4.7-api">
|
||||
</FileList>
|
Reference in New Issue
Block a user