Skip to content

Commit 5dde6e4

Browse files
authored
Add System.Security.Cryptography.Pkcs to targeting pack (#64172)
* Add System.Security.Cryptography.Pkcs to targeting pack * Add System.Security.Cryptography.Pkcs to TestData
1 parent 48b9449 commit 5dde6e4

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/Framework/App.Ref/src/Microsoft.AspNetCore.App.Ref.sfxproj

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,6 @@
101101
<PackageOverridesFile Include="$(ReferencePackageOverridesPath)" />
102102
</ItemGroup>
103103

104-
<!--
105-
COMPAT: Remove the System.Security.Cryptography.Pkcs reference from the project.
106-
We don't package System.Security.Cryptography.Pkcs into the reference pack for ASP.NET Core.
107-
-->
108-
<Target Name="_RemovePkcsReference" AfterTargets="ResolveReferences">
109-
<ItemGroup>
110-
<ReferencePath Remove="@(ReferencePath)" Condition="'%(FileName)' == 'System.Security.Cryptography.Pkcs'" />
111-
<IgnoredReference Include="System.Security.Cryptography.Pkcs" />
112-
</ItemGroup>
113-
</Target>
114-
115104
<Target Name="_AddAnalyzersToRefPack" BeforeTargets="GetFilesToPackage">
116105
<ItemGroup>
117106
<!-- Include analyzers from dotnet/runtime. Start with the non-Roslyn-versioned ones -->

src/Framework/test/TestData.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ static TestData()
309309
{ "Microsoft.Net.Http.Headers" },
310310
{ "System.Diagnostics.EventLog" },
311311
{ "System.Formats.Cbor" },
312+
{ "System.Security.Cryptography.Pkcs" },
312313
{ "System.Security.Cryptography.Xml" },
313314
{ "System.Threading.RateLimiting" },
314315
};

0 commit comments

Comments
 (0)