-
Notifications
You must be signed in to change notification settings - Fork 558
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added back support for netstandard2.0 and netfx
Adding System.ServiceModel.dll shim to Primitives lib/net8.0 Add placeholder file to stop package being used on older runtimes Adding System.ServiceModel.dll shim to Primitives lib/net8.0
- Loading branch information
Showing
63 changed files
with
9,715 additions
and
1,477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ build/ | |
bld/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
msbuild.binlog | ||
*.binlog | ||
msbuild.log | ||
msbuild.err | ||
msbuild.wrn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<PropertyGroup> | ||
<ProduceReferenceAssembly>false</ProduceReferenceAssembly> | ||
<GenAPIGenerateReferenceAssemblySource Condition="'$(GenAPIGenerateReferenceAssemblySource)' == ''">true</GenAPIGenerateReferenceAssemblySource> | ||
<GenAPITargetPath>..\ref\$(AssemblyName).cs</GenAPITargetPath> | ||
<RefAssemblyProjectReference>$(MSBuildProjectDirectory)\..\ref\$(AssemblyName).Ref.csproj</RefAssemblyProjectReference> | ||
<RefAssemblyProjectReference>$([System.IO.Path]::GetFullPath($(RefAssemblyProjectReference)))</RefAssemblyProjectReference> | ||
<GenAPIExcludeApiList Condition="Exists('ReferenceAssemblyExclusions.txt')">ReferenceAssemblyExclusions.txt</GenAPIExcludeApiList> | ||
<!-- <RefAssemblyProjectReference Condition="'$(RefAssemblyProjectReference)' == '' AND '$(HasReferenceAssembly)' == 'true'">$([System.IO.Path]::GetFullPath($(MSBuildProjectDirectory)\..\ref\$(AssemblyName).Ref.csproj)</RefAssemblyProjectReference> --> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="ReferenceAssemblyExclusions.txt" Condition="Exists('ReferenceAssemblyExclusions.txt')" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.DotNet.GenAPI" | ||
version="$(MicrosoftDotNetGenApiPackageVersion)" | ||
PrivateAssets="all" | ||
IsImplicitlyDefined="true"/> | ||
<ProjectReference Include="$(RefAssemblyProjectReference)"> | ||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly> | ||
<OutputItemType>ResolvedReferenceAssemblyReference</OutputItemType> | ||
</ProjectReference> | ||
</ItemGroup> | ||
|
||
<PropertyGroup Condition="'$(HasReferenceAssembly)' == 'true'"> | ||
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);AddReferenceAssemblyToPackage</TargetsForTfmSpecificContentInPackage> | ||
</PropertyGroup> | ||
|
||
<Target Name="AddReferenceAssemblyToPackage" AfterTargets="AssignTargetPaths"> | ||
<ItemGroup> | ||
<TfmSpecificPackageFile Include="@(ResolvedReferenceAssemblyReference)" PackagePath="ref/$(TargetFramework)" /> | ||
</ItemGroup> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<ItemGroup Condition="'$(TargetFramework)' == '$(NetFrameworkVersion)'"> | ||
<None Include="@(Compile)" /> | ||
<Compile Remove="@(Compile)" /> | ||
<Reference Include="System" /> | ||
<Reference Include="System.IdentityModel" /> | ||
<Reference Include="System.Runtime.Serialization" /> | ||
<Reference Include="System.ServiceModel" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true' and '$(EnableDefaultCompileItems)' != 'false'"> | ||
<ProjectReference Include="..\..\System.ServiceModel.Primitives\ref\System.ServiceModel.Primitives.Ref.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' and Exists('netstandard.cs')"> | ||
<None Include="@(Compile)" /> | ||
<Compile Remove="@(Compile)" /> | ||
<None Condition="Exists('netstandard.cs')" Remove="netstandard.cs" /> | ||
<Compile Condition="Exists('netstandard.cs')" Include="netstandard.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == '$(DotNetVersion)' and '$(EnableDefaultCompileItems)' != 'false'"> | ||
<None Include="@(Compile)" /> | ||
<Compile Remove="@(Compile)" /> | ||
<None Condition="Exists('$(AssemblyName).cs')" Remove="$(AssemblyName).cs" /> | ||
<Compile Condition="Exists('$(AssemblyName).cs')" Include="$(AssemblyName).cs" /> | ||
</ItemGroup> | ||
</Project> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<ItemGroup Condition="'$(IncludeSRCommonCode)' != 'false' and '$(IsReferenceAssembly)' != 'true'"> | ||
<Compile Include="..\..\Common\src\System\SR.cs"> | ||
<Link>Common\System\SR.cs</Link> | ||
</Compile> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == '$(NetFrameworkVersion)'"> | ||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" IsImplicitlyDefined="true" /> | ||
<Reference Include="System" /> | ||
<Reference Include="System.IdentityModel" /> | ||
<Reference Include="System.Runtime.Serialization" /> | ||
<Reference Include="System.ServiceModel" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == '$(NetFrameworkVersion)' and Exists('NetFxTypeForwards.cs')"> | ||
<None Include="@(Compile)" /> | ||
<Compile Remove="@(Compile)" /> | ||
<None Include="@(EmbeddedResource)" /> | ||
<EmbeddedResource Remove="@(EmbeddedResource)" /> | ||
<None Remove="NetFxTypeForwards.cs" /> | ||
<Compile Include="NetFxTypeForwards.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' and Exists('netstandard.cs')"> | ||
<None Include="@(Compile)" /> | ||
<Compile Remove="@(Compile)" /> | ||
<None Include="@(EmbeddedResource)" /> | ||
<EmbeddedResource Remove="@(EmbeddedResource)" /> | ||
<None Remove="netstandard.cs" /> | ||
<Compile Include="netstandard.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == '$(DotNetVersion)'"> | ||
<Compile Condition="Exists('netstandard.cs')" Remove="netstandard.cs" /> | ||
<Compile Condition="Exists('NetFxTypeForwards.cs')" Remove="NetFxTypeForwards.cs" /> | ||
<None Condition="Exists('netstandard.cs')" Include="netstandard.cs" /> | ||
<None Condition="Exists('NetFxTypeForwards.cs')" Include="NetFxTypeForwards.cs" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<!-- Placeholders don't need a dependency group. --> | ||
<NoWarn>$(NoWarn);NU5128;NU5131</NoWarn> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="$(PlaceholderFile)" | ||
Pack="true" | ||
PackagePath="ref\netcoreapp2.0\; | ||
$(BuildOutputTargetFolder)\MonoAndroid10\; | ||
$(BuildOutputTargetFolder)\MonoTouch10\; | ||
$(BuildOutputTargetFolder)\xamarinios10\; | ||
$(BuildOutputTargetFolder)\xamarinmac20\; | ||
$(BuildOutputTargetFolder)\xamarintvos10\; | ||
$(BuildOutputTargetFolder)\xamarinwatchos10\" | ||
Condition="$(TargetFrameworks.Contains('netstandard2.'))" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.