添加项目
parent
d698947698
commit
9578aa7fb8
Binary file not shown.
Binary file not shown.
@ -0,0 +1,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SharpCompress" Version="0.36.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Resource\利港模型AB文件.zip">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Resource\学习.rar">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -0,0 +1,12 @@
|
||||
namespace SharpCompressStudy
|
||||
{
|
||||
public class CommonUtilityTest
|
||||
{
|
||||
[Fact]
|
||||
public void Test1()
|
||||
{
|
||||
var file = AppDomain.CurrentDomain.BaseDirectory + "/Resource/" + "利港模型AB文件.zip";
|
||||
CommonUtility.Decompress(file,false);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
|
||||
<PackageReference Include="xunit" Version="2.6.6" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="coverlet.collector" Version="6.0.0">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SharpCompressStudy.Core\SharpCompressStudy.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -0,0 +1,20 @@
|
||||
global using Xunit;
|
||||
global using Xunit.Sdk;
|
||||
global using Xunit.Extensions;
|
||||
global using Xunit.Abstractions;
|
||||
|
||||
global using SharpCompress;
|
||||
global using SharpCompress.Common;
|
||||
global using SharpCompress.Compressors;
|
||||
global using SharpCompress.Factories;
|
||||
global using SharpCompress.IO;
|
||||
global using SharpCompress.Readers;
|
||||
global using SharpCompress.Writers;
|
||||
global using SharpCompress.Archives;
|
||||
global using SharpCompress.Archives.Rar;
|
||||
global using SharpCompress.Archives.Tar;
|
||||
global using SharpCompress.Archives.Zip;
|
||||
global using SharpCompress.Archives.GZip;
|
||||
global using SharpCompress.Archives.SevenZip;
|
||||
|
||||
global using SharpCompressStudy.Core;
|
Loading…
Reference in New Issue