box / box-dotnet-sdk-gen

Repository for Box .NET autogenerated SDK
Apache License 2.0
7 stars 4 forks source link

Can't install into .net 4.8 project #234

Open ericberman opened 2 months ago

ericberman commented 2 months ago

Description of the Issue

When I try to install this with NuGet, I get this error: Error Could not install package 'Box.Sdk.Gen 1.1.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.8', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Steps to Reproduce

type "install-package box.sdk.gen in a project that targets .net 4.8.

Expected Behavior

Package should install

Error Message, Including Stack Trace

Screenshots

Versions Used

.NET SDK: 4.8 .NET: 4.8

congminh1254 commented 2 months ago

Hi @ericberman

With the .NET SDK Gen, currently we are only support .NET from version 6.0 (formerly named .NET Core), but not .NET Framework.

We are working on support .NET Framework for this SDK, but for now, you can use the legacy .NET SDK.

Bests, Minh

Timbot-42 commented 1 month ago

Just want to confirm if you will be adding support for .NET framework before you deprecate the V2 SDK?

mwwoda commented 1 month ago

That's correct. We plan to add support for .NET Framework before deprecating legacy SDK.