mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-08-24 19:46:29 +00:00
6a03be4af2
System.Formats.Tar is not available as a standalone NuGet backport for netstandard2.0/net48. Use SharpCompress 0.38.0 on all targets for a single, well-tested code path that handles GNU long filenames, PAX extended headers, and other TAR variants correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>netstandard2.0;net9.0;net48</TargetFrameworks>
|
|
<LangVersion>10.0</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<RootNamespace>PSProxmoxVE.Core</RootNamespace>
|
|
<AssemblyName>PSProxmoxVE.Core</AssemblyName>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<NoWarn>$(NoWarn)</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
|
|
<_Parameter1>PSProxmoxVE.Core.Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
<PackageReference Include="System.Text.Json" Version="8.0.5" />
|
|
<PackageReference Include="SharpCompress" Version="0.38.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
<PackageReference Include="System.Text.Json" Version="8.0.5" />
|
|
<PackageReference Include="SharpCompress" Version="0.38.0" />
|
|
<Reference Include="System.Net.Http" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
<PackageReference Include="SharpCompress" Version="0.38.0" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|