Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Sitnik <adam.sitnik@gmail.com>2020-08-05 19:25:25 +0300
committerGitHub <noreply@github.com>2020-08-05 19:25:25 +0300
commit6e922b89ec0d5dab38f999482b1496043938e24a (patch)
tree6ede7f871bdbb91d0416bb3e4cc826639ba5f555 /eng/versioning.targets
parentd306c6f31d85648c479012b20a9786d453a79ea1 (diff)
Mark System.Security.Cryptography.OpenSsl as unsupported on Windows, fixes #40101 (#40377)
Diffstat (limited to 'eng/versioning.targets')
-rw-r--r--eng/versioning.targets7
1 files changed, 7 insertions, 0 deletions
diff --git a/eng/versioning.targets b/eng/versioning.targets
index f0cbf0e2289..2a2f10dbcaf 100644
--- a/eng/versioning.targets
+++ b/eng/versioning.targets
@@ -29,6 +29,13 @@
</AssemblyAttribute>
</ItemGroup>
+ <!-- Adds UnsupportedOSPlatform attribute for requested libraries -->
+ <ItemGroup Condition="'$(UnsupportedOSPlatform)' != '' and '$(IsTestProject)' != 'true'">
+ <AssemblyAttribute Include="System.Runtime.Versioning.UnsupportedOSPlatform">
+ <_Parameter1>$(UnsupportedOSPlatform)</_Parameter1>
+ </AssemblyAttribute>
+ </ItemGroup>
+
<Target Name="DecideIfWeNeedToIncludeDllSafeSearchPathAttribute"
Condition="'$(IsDotNetFrameworkProductAssembly)' == 'true' and '$(IsTestProject)' != 'true' and '$(IsTestSupportProject)' != 'true'">