C
C#16mo ago
Tofaa

❔ ✅ Nuget doesnt find any packages

PS C:\Users\tofik\Desktop\Github\Blossom> dotnet add package Raylib-CsLo --version 4.2.0.9 Determining projects to restore... Writing C:\Users\tofik\AppData\Local\Temp\tmp81F6.tmp info : X.509 certificate chain validation will use the default trust store selected by .NET for code signing. info : X.509 certificate chain validation will use the default trust store selected by .NET for timestamping. info : Adding PackageReference for package 'Raylib-CsLo' into project 'C:\Users\tofik\OneDrive\Desktop\Github\Blossom\Blossom.csproj'. info : Restoring packages for C:\Users\tofik\Desktop\Github\Blossom\Blossom.csproj... error: NU1101: Unable to find package Raylib-CsLo. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages error: Package 'Raylib-CsLo' is incompatible with 'all' frameworks in project 'C:\Users\tofik\OneDrive\Desktop\Github\Blossom\Blossom.csproj'. PS C:\Users\tofik\OneDrive\Desktop\Github\Blossom> For some reason it doesnt find anything, VS itself also doesnt find anything but the microsoft packages, same with rider
7 Replies
ero
ero16mo ago
it says
error: Package 'Raylib-CsLo' is incompatible with 'all' frameworks in project
Tofaa
TofaaOP16mo ago
Yeah i saw that i dont know what it means
ero
ero16mo ago
it means whatever framework your project is targeting cannot use the nuget
Tofaa
TofaaOP16mo ago
ive used it in .net 7 before hmm
ero
ero16mo ago
what does your csproj look like?
Tofaa
TofaaOP16mo ago
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
@just_ero i found out, seems like vs didnt have my nuget, it was just scanning for the local one, which is why i couldnt find anything but the microsoft packages !close
Accord
Accord16mo ago
Closed! Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server