未验证 提交 7cd6a16f 编写于 作者: J Jeff Handley 提交者: GitHub

Remove [RequiresPreviewFeatures] from System.Security.Cryptography.Cose

上级 7be37908
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks> <TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
<EnablePreviewFeatures>True</EnablePreviewFeatures>
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="System.Security.Cryptography.Cose.cs" /> <Compile Include="System.Security.Cryptography.Cose.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
<Compile Include="$(CoreLibSharedDir)System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs"
Link="System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'"> <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
<PackageReference Include="System.Memory" Version="$(SystemMemoryVersion)" /> <PackageReference Include="System.Memory" Version="$(SystemMemoryVersion)" />
</ItemGroup> </ItemGroup>
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks> <TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnablePreviewFeatures>True</EnablePreviewFeatures>
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
<IsPackable>true</IsPackable> <IsPackable>true</IsPackable>
<!-- Disabling baseline validation since this is a brand new package. <!-- Disabling baseline validation since this is a brand new package.
Once this package has shipped a stable version, the following line Once this package has shipped a stable version, the following line
...@@ -31,10 +29,6 @@ ...@@ -31,10 +29,6 @@
<Compile Include="System\Security\Cryptography\Cose\SigStructureContext.cs" /> <Compile Include="System\Security\Cryptography\Cose\SigStructureContext.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
<Compile Include="$(CoreLibSharedDir)System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" Link="System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="$(LibrariesProjectRoot)System.Formats.Cbor\src\System.Formats.Cbor.csproj" /> <ProjectReference Include="$(LibrariesProjectRoot)System.Formats.Cbor\src\System.Formats.Cbor.csproj" />
</ItemGroup> </ItemGroup>
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);net48</TargetFrameworks> <TargetFrameworks>$(NetCoreAppCurrent);net48</TargetFrameworks>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
<IgnoreForCI Condition="'$(TargetOS)' == 'Browser'">true</IgnoreForCI> <IgnoreForCI Condition="'$(TargetOS)' == 'Browser'">true</IgnoreForCI>
</PropertyGroup> </PropertyGroup>
...@@ -34,10 +32,6 @@ ...@@ -34,10 +32,6 @@
<Compile Include="CoseTestHelpers.cs" /> <Compile Include="CoseTestHelpers.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
<Compile Include="$(CoreLibSharedDir)System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" Link="System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.15.0" /> <PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.15.0" />
</ItemGroup> </ItemGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册