Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: llamasharp 0.20.0 can not be used with visual studio 2019 #1076

Open
futureflsl opened this issue Feb 2, 2025 · 2 comments
Open

[BUG]: llamasharp 0.20.0 can not be used with visual studio 2019 #1076

futureflsl opened this issue Feb 2, 2025 · 2 comments

Comments

@futureflsl
Copy link

Description

when I use nuget llamasharp 0.20.0,it will not be used,error like

正在尝试收集与目标为“.NETFramework,Version=v4.8”的项目“FIRC”有关的包“LLamaSharp.0.20.0”的依赖项信息
收集依赖项信息花费时间 3.64 sec
正在尝试解析程序包“LLamaSharp.0.20.0”的依赖项,DependencyBehavior 为“Lowest”
无法解析依赖项“Microsoft.Extensions.AI.Abstractions

Reproduction Steps

Image

Environment & Configuration

  • Operating system:
  • .NET runtime version: .net framework4.8.0
  • LLamaSharp version:0.20.0
  • CUDA version (if you are using cuda backend):
  • CPU & GPU device:

Known Workarounds

No response

@DestroyerDarkNess
Copy link

I also had that problem, When I tried to use it under the .NET Framework 4.8, it uses .NET Core 8

@CommanderLake
Copy link

You have to check the "Include prerelease" check box because Microsoft.Extensions.AI.Abstractions is still in prerelease.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants