dotnet/TorchSharp

Why this dotnet pack error?

GeorgeS2019 opened this issue · 0 comments

I did the latest git pull
then dotnet pack

C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5
): error PKV006: Target framework net6.0 is no longer supported in the latest version. [C:\TorchSharp\pkg
\TorchAudio\TorchAudio.nupkgproj::TargetFramework=netstandard2.0]
C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5
): error PKV006: Target framework net6.0 is no longer supported in the latest version. [C:\TorchSharp\pkg
\TorchAudio\TorchAudio.nupkgproj::TargetFramework=netstandard2.0]
C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5
): error PKV006: Target framework .NETStandard,Version=v2.0 is no longer supported in the latest version. [C:\TorchSharp\pkg\TorchAudio\TorchAudio.nupkgproj::TargetFramework=netstandard2.0]
C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5
): error PKV006: Target framework .NETStandard,Version=v2.0 is no longer supported in the latest version. [C:\TorchSharp\pkg\TorchAudio\TorchAudio.nupkgproj::TargetFramework=netstandard2.0]
C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5
): error : API breaking changes found. If those are intentional, the APICompat suppression file can be updated by rebui
lding with '/p:ApiCompatGenerateSuppressionFile=true' [C:\TorchSharp\pkg\TorchAudio\TorchAudio.nupkgproj:
:TargetFramework=netstandard2.0]