Skip to content

Commit

Permalink
Add missing Evidence types to AcccessControl NETFramework Facade (dot…
Browse files Browse the repository at this point in the history
…net#99462)

The AccessControl assembly is missing type forwards for Evidence and EvidenceBase on .NETFramework.
Cannot use Evidence or EvidenceBase from a netstandard2.0 library and run on .NETFramework.
Fixes dotnet#99447
  • Loading branch information
ericstj authored Mar 12, 2024
1 parent 5d4543b commit bc5e878
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@
[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.ResourceType))]
[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.SecurityInfos))]
[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.SystemAcl))]
[assembly: TypeForwardedTo(typeof(System.Security.Policy.Evidence))]
[assembly: TypeForwardedTo(typeof(System.Security.Policy.EvidenceBase))]
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);netstandard2.0-windows;netstandard2.0;net461-windows</TargetFrameworks>
<IsPackable>true</IsPackable>
<!-- If you enable GeneratePackageOnBuild for this package and bump ServicingVersion, make sure to also bump ServicingVersion in Microsoft.Windows.Compatibility.csproj once for the next release. -->
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<ServicingVersion>0</ServicingVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<ServicingVersion>1</ServicingVersion>
<PackageDescription>Provides base classes that enable managing access and audit control lists on securable objects.

Commonly Used Types:
Expand Down

0 comments on commit bc5e878

Please sign in to comment.