-
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't reference System.IO.Compression package (#1220)
System.IO.Compression is inbox on .NET Framework. The package doesn't need to be referenced and will eventually be marked as deprecated.
- Loading branch information
1 parent
0c5c53e
commit 2cec300
Showing
11 changed files
with
107 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/Verify.ExceptionParsing.Tests/Verify.ExceptionParsing.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,28 @@ | ||
|
||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48</TargetFrameworks> | ||
<TargetFrameworks>$(TargetFrameworks);net9.0</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||
<PackageReference Include="Xunit" /> | ||
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="all" /> | ||
<PackageReference Include="ProjectDefaults" PrivateAssets="all" /> | ||
|
||
<ProjectReference Include="..\Verify.ExceptionParsing\Verify.ExceptionParsing.csproj" /> | ||
<ProjectReference Include="..\Verify.Xunit\Verify.Xunit.csproj" /> | ||
<ProjectReference Include="..\Verify\Verify.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.IO.Compression" /> | ||
</ItemGroup> | ||
|
||
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.props" /> | ||
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.targets" /> | ||
<Import Project="$(ProjectDir)..\Verify.Xunit\buildTransitive\Verify.Xunit.props" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks> | ||
<SignAssembly>false</SignAssembly> | ||
<TestProject>false</TestProject> | ||
<IsTestProject>false</IsTestProject> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Fixie" /> | ||
<PackageReference Include="ProjectDefaults" PrivateAssets="all" /> | ||
<PackageReference Include="Polyfill" PrivateAssets="all" /> | ||
|
||
<ProjectReference Include="..\Verify\Verify.csproj" PrivateAssets="None" /> | ||
|
||
<None Include="buildTransitive\Verify.Fixie.props" Pack="true" PackagePath="buildTransitive\Verify.Fixie.props" /> | ||
<None Include="buildTransitive\Verify.Fixie.props" Pack="true" PackagePath="build\Verify.Fixie.props" /> | ||
|
||
<Compile Include="..\Verify\Guard.cs" /> | ||
<Compile Include="..\Verify\Extensions.cs" /> | ||
</ItemGroup> | ||
</Project> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.IO.Compression" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,29 @@ | ||
|
||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48</TargetFrameworks> | ||
<TargetFrameworks>$(TargetFrameworks);net9.0</TargetFrameworks> | ||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo> | ||
<PlatformTarget>x64</PlatformTarget> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="MSTest" /> | ||
<PackageReference Include="ProjectDefaults" PrivateAssets="all" /> | ||
|
||
<ProjectReference Include="..\TargetLibrary\TargetLibrary.csproj" /> | ||
<ProjectReference Include="..\Verify.MSTest\Verify.MSTest.csproj" /> | ||
<ProjectReference Include="..\Verify\Verify.csproj" /> | ||
<ProjectReference Include="..\Verify.MSTest.SourceGenerator\Verify.MSTest.SourceGenerator.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.IO.Compression" /> | ||
</ItemGroup> | ||
|
||
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.props" /> | ||
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.targets" /> | ||
<Import Project="$(ProjectDir)..\Verify.MSTest\buildTransitive\Verify.MSTest.props" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT'">net472;net48</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net472;net48</TargetFrameworks> | ||
<TargetFrameworks>$(TargetFrameworks);net6.0;net7.0;net8.0;net9.0</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="ProjectDefaults" PrivateAssets="all" /> | ||
<PackageReference Include="MSTest.TestFramework" /> | ||
|
||
<ProjectReference Include="..\Verify\Verify.csproj" PrivateAssets="None" /> | ||
<ProjectReference Include="..\Verify.MSTest.SourceGenerator\Verify.MSTest.SourceGenerator.csproj" ReferenceOutputAssembly="false" PackAsAnalyzer="true" OutputItemType="Analyzer" /> | ||
|
||
<None Include="buildTransitive\Verify.MSTest.props" Pack="true" PackagePath="buildTransitive\Verify.MSTest.props" /> | ||
<None Include="buildTransitive\Verify.MSTest.props" Pack="true" PackagePath="build\Verify.MSTest.props" /> | ||
</ItemGroup> | ||
</Project> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.IO.Compression" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
|
||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48</TargetFrameworks> | ||
<TargetFrameworks>$(TargetFrameworks);net9.0</TargetFrameworks> | ||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo> | ||
<PlatformTarget>x64</PlatformTarget> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||
<PackageReference Include="ProjectDefaults" PrivateAssets="all" /> | ||
|
||
<ProjectReference Include="..\TargetLibrary\TargetLibrary.csproj" /> | ||
<ProjectReference Include="..\Verify.NUnit\Verify.NUnit.csproj" /> | ||
<ProjectReference Include="..\Verify\Verify.csproj" /> | ||
|
||
<Using Include="NUnit.Framework.Legacy.ClassicAssert" Static="True" /> | ||
<Using Include="NUnit.Framework.Assert" Static="True" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.IO.Compression" /> | ||
</ItemGroup> | ||
|
||
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.props" /> | ||
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.targets" /> | ||
<Import Project="$(ProjectDir)..\Verify.NUnit\buildTransitive\Verify.NUnit.props" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT'">net472;net48</TargetFrameworks> | ||
<TargetFrameworks>$(TargetFrameworks);net6.0;net7.0;net8.0;net9.0</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="NUnit" /> | ||
<PackageReference Include="ProjectDefaults" PrivateAssets="all" /> | ||
|
||
<ProjectReference Include="..\Verify\Verify.csproj" PrivateAssets="None" /> | ||
|
||
<None Include="buildTransitive\Verify.NUnit.props" Pack="true" PackagePath="buildTransitive\Verify.NUnit.props" /> | ||
<None Include="buildTransitive\Verify.NUnit.props" Pack="true" PackagePath="build\Verify.NUnit.props" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.IO.Compression" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
|
||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48</TargetFrameworks> | ||
<TargetFrameworks>$(TargetFrameworks);net9.0</TargetFrameworks> | ||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo> | ||
<PlatformTarget>x64</PlatformTarget> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||
<PackageReference Include="PublicApiGenerator" /> | ||
<PackageReference Include="Xunit" /> | ||
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="all" /> | ||
<PackageReference Include="ProjectDefaults" PrivateAssets="all" /> | ||
|
||
<ProjectReference Include="..\TargetLibrary\TargetLibrary.csproj" /> | ||
<ProjectReference Include="..\Verify.Xunit\Verify.Xunit.csproj" /> | ||
<ProjectReference Include="..\Verify\Verify.csproj" /> | ||
|
||
<Folder Include="Scrubbers\" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.IO.Compression" /> | ||
</ItemGroup> | ||
|
||
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.props" /> | ||
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.targets" /> | ||
<Import Project="$(ProjectDir)..\Verify.Xunit\buildTransitive\Verify.Xunit.props" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT'">net472;net48</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net472;net48</TargetFrameworks> | ||
<TargetFrameworks>$(TargetFrameworks);net6.0;net7.0;net8.0;net9.0</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="xunit.abstractions" /> | ||
<PackageReference Include="xunit.extensibility.execution" /> | ||
<PackageReference Include="ProjectDefaults" PrivateAssets="all" /> | ||
|
||
<ProjectReference Include="..\Verify\Verify.csproj" PrivateAssets="None" /> | ||
|
||
<None Include="buildTransitive\Verify.Xunit.props" Pack="true" PackagePath="buildTransitive\Verify.Xunit.props" /> | ||
<None Include="buildTransitive\Verify.Xunit.props" Pack="true" PackagePath="build\Verify.Xunit.props" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.IO.Compression" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT'">net472;net48</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net472;net48</TargetFrameworks> | ||
<TargetFrameworks>$(TargetFrameworks);net6.0;net7.0;net8.0;net9.0</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Polyfill" PrivateAssets="all" /> | ||
<PackageReference Include="System.IO.Compression" Condition="$(TargetFrameworkIdentifier) == '.NETFramework'" /> | ||
<PackageReference Include="System.IO.Hashing" Condition="$(TargetFrameworkIdentifier) == '.NETFramework' or $(TargetFramework) == 'net6.0' or $(TargetFramework) == 'net7.0' or $(TargetFramework) == 'net8.0' or $(TargetFramework) == 'net9.0'" /> | ||
<PackageReference Include="System.Memory" Condition="$(TargetFrameworkIdentifier) == '.NETFramework'" /> | ||
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Condition="$(TargetFrameworkIdentifier) == '.NETFramework'" /> | ||
<PackageReference Include="System.IO.Hashing" /> | ||
<PackageReference Include="DiffEngine" /> | ||
<PackageReference Include="SimpleInfoName" /> | ||
<PackageReference Include="Argon" /> | ||
<PackageReference Include="ProjectDefaults" PrivateAssets="all" /> | ||
|
||
<None Include="buildTransitive\Verify.props" Pack="true" PackagePath="buildTransitive\Verify.props" /> | ||
<None Include="buildTransitive\Verify.targets" Pack="true" PackagePath="buildTransitive\Verify.targets" /> | ||
<None Include="buildTransitive\Verify.props" Pack="true" PackagePath="build\Verify.props" /> | ||
<None Include="buildTransitive\Verify.targets" Pack="true" PackagePath="build\Verify.targets" /> | ||
</ItemGroup> | ||
</Project> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<PackageReference Include="System.Memory" /> | ||
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" /> | ||
<Reference Include="System.IO.Compression" /> | ||
</ItemGroup> | ||
|
||
</Project> |