File tree Expand file tree Collapse file tree 12 files changed +29
-6
lines changed
System.DirectoryServices.Protocols
System.Security.Cryptography.Csp
System.Security.Cryptography.Encoding
System.Security.Cryptography.OpenSsl
System.Security.Cryptography.Pkcs
System.Security.Cryptography.Primitives
System.Security.Cryptography.X509Certificates
System.Security.Cryptography.Xml Expand file tree Collapse file tree 12 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 2929 </AssemblyAttribute >
3030 </ItemGroup >
3131
32- <!-- Adds UnsupportedOSPlatform attribute for requested libraries -->
33- <ItemGroup Condition =" '$(UnsupportedOSPlatform)' != '' and '$(IsTestProject)' != 'true'" >
34- <AssemblyAttribute Include =" System.Runtime.Versioning.UnsupportedOSPlatform" >
35- <_Parameter1 >$(UnsupportedOSPlatform)</_Parameter1 >
36- </AssemblyAttribute >
32+ <ItemGroup >
33+ <_unsupportedOSPlatforms Include =" $(UnsupportedOSPlatforms)" />
3734 </ItemGroup >
3835
36+ <Target Name =" AddUnsupportedOSPlatformAttribute" BeforeTargets =" GenerateAssemblyInfo" AfterTargets =" PrepareForBuild" >
37+ <ItemGroup >
38+ <AssemblyAttribute Include =" System.Runtime.Versioning.UnsupportedOSPlatform" Condition =" '@(_unsupportedOSPlatforms)' != ''" >
39+ <_Parameter1 >%(_unsupportedOSPlatforms.Identity)</_Parameter1 >
40+ </AssemblyAttribute >
41+ </ItemGroup >
42+ </Target >
43+
3944 <Target Name =" DecideIfWeNeedToIncludeDllSafeSearchPathAttribute"
4045 Condition =" '$(IsDotNetFrameworkProductAssembly)' == 'true' and '$(IsTestProject)' != 'true' and '$(IsTestSupportProject)' != 'true'" >
4146
Original file line number Diff line number Diff line change 22 <Import Project =" ..\Directory.Build.props" />
33 <PropertyGroup >
44 <StrongNameKeyId >Open</StrongNameKeyId >
5+ <IncludePlatformAttributes >true</IncludePlatformAttributes >
6+ <UnsupportedOSPlatforms >browser</UnsupportedOSPlatforms >
57 </PropertyGroup >
68</Project >
Original file line number Diff line number Diff line change 66 to a different assembly. -->
77 <AssemblyVersion >4.0.0.0</AssemblyVersion >
88 <StrongNameKeyId >Microsoft</StrongNameKeyId >
9+ <IncludePlatformAttributes >true</IncludePlatformAttributes >
10+ <UnsupportedOSPlatforms >browser</UnsupportedOSPlatforms >
911 </PropertyGroup >
1012</Project >
Original file line number Diff line number Diff line change 22 <Import Project =" ..\Directory.Build.props" />
33 <PropertyGroup >
44 <StrongNameKeyId >Open</StrongNameKeyId >
5+ <IncludePlatformAttributes >true</IncludePlatformAttributes >
6+ <UnsupportedOSPlatforms >browser</UnsupportedOSPlatforms >
57 </PropertyGroup >
68</Project >
Original file line number Diff line number Diff line change 22 <Import Project =" ..\Directory.Build.props" />
33 <PropertyGroup >
44 <StrongNameKeyId >Open</StrongNameKeyId >
5+ <IncludePlatformAttributes >true</IncludePlatformAttributes >
6+ <UnsupportedOSPlatforms >browser</UnsupportedOSPlatforms >
57 </PropertyGroup >
68</Project >
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <StrongNameKeyId >Microsoft</StrongNameKeyId >
55 <IncludePlatformAttributes >true</IncludePlatformAttributes >
6+ <UnsupportedOSPlatforms >browser</UnsupportedOSPlatforms >
67 </PropertyGroup >
78</Project >
Original file line number Diff line number Diff line change 22 <Import Project =" ..\Directory.Build.props" />
33 <PropertyGroup >
44 <StrongNameKeyId >Microsoft</StrongNameKeyId >
5+ <IncludePlatformAttributes >true</IncludePlatformAttributes >
6+ <UnsupportedOSPlatforms >browser</UnsupportedOSPlatforms >
57 </PropertyGroup >
68</Project >
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <StrongNameKeyId >Microsoft</StrongNameKeyId >
55 <IncludePlatformAttributes >true</IncludePlatformAttributes >
6- <UnsupportedOSPlatform >windows</ UnsupportedOSPlatform >
6+ <UnsupportedOSPlatforms >windows;browser</ UnsupportedOSPlatforms >
77 </PropertyGroup >
88</Project >
Original file line number Diff line number Diff line change 22 <Import Project =" ..\Directory.Build.props" />
33 <PropertyGroup >
44 <StrongNameKeyId >Microsoft</StrongNameKeyId >
5+ <IncludePlatformAttributes >true</IncludePlatformAttributes >
6+ <UnsupportedOSPlatforms >browser</UnsupportedOSPlatforms >
57 </PropertyGroup >
68</Project >
Original file line number Diff line number Diff line change 22 <Import Project =" ..\Directory.Build.props" />
33 <PropertyGroup >
44 <StrongNameKeyId >Microsoft</StrongNameKeyId >
5+ <IncludePlatformAttributes >true</IncludePlatformAttributes >
6+ <UnsupportedOSPlatforms >browser</UnsupportedOSPlatforms >
57 </PropertyGroup >
68</Project >
You can’t perform that action at this time.
0 commit comments