Skip to content

Commit 7cd6a16

Browse files
authored
Remove [RequiresPreviewFeatures] from System.Security.Cryptography.Cose
1 parent 7be3790 commit 7cd6a16

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

src/libraries/System.Security.Cryptography.Cose/ref/System.Security.Cryptography.Cose.csproj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
4-
<EnablePreviewFeatures>True</EnablePreviewFeatures>
5-
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
64
</PropertyGroup>
75

86
<ItemGroup>
97
<Compile Include="System.Security.Cryptography.Cose.cs" />
108
</ItemGroup>
119

12-
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
13-
<Compile Include="$(CoreLibSharedDir)System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs"
14-
Link="System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" />
15-
</ItemGroup>
16-
1710
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
1811
<PackageReference Include="System.Memory" Version="$(SystemMemoryVersion)" />
1912
</ItemGroup>

src/libraries/System.Security.Cryptography.Cose/src/System.Security.Cryptography.Cose.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<PropertyGroup>
33
<TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
44
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5-
<EnablePreviewFeatures>True</EnablePreviewFeatures>
6-
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
75
<IsPackable>true</IsPackable>
86
<!-- Disabling baseline validation since this is a brand new package.
97
Once this package has shipped a stable version, the following line
@@ -31,10 +29,6 @@
3129
<Compile Include="System\Security\Cryptography\Cose\SigStructureContext.cs" />
3230
</ItemGroup>
3331

34-
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
35-
<Compile Include="$(CoreLibSharedDir)System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" Link="System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" />
36-
</ItemGroup>
37-
3832
<ItemGroup>
3933
<ProjectReference Include="$(LibrariesProjectRoot)System.Formats.Cbor\src\System.Formats.Cbor.csproj" />
4034
</ItemGroup>

src/libraries/System.Security.Cryptography.Cose/tests/System.Security.Cryptography.Cose.Tests.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<PropertyGroup>
33
<TargetFrameworks>$(NetCoreAppCurrent);net48</TargetFrameworks>
44
<Nullable>enable</Nullable>
5-
<EnablePreviewFeatures>true</EnablePreviewFeatures>
6-
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
75
<IgnoreForCI Condition="'$(TargetOS)' == 'Browser'">true</IgnoreForCI>
86
</PropertyGroup>
97

@@ -34,10 +32,6 @@
3432
<Compile Include="CoseTestHelpers.cs" />
3533
</ItemGroup>
3634

37-
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
38-
<Compile Include="$(CoreLibSharedDir)System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" Link="System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" />
39-
</ItemGroup>
40-
4135
<ItemGroup>
4236
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.15.0" />
4337
</ItemGroup>

0 commit comments

Comments
 (0)