© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
6 replies
sparr

VSCode extension can't find nuget packages

I restored a missing nuget package using msbuild and now I can use msbuild to compile my project without errors. However, the language server can't seem to find it so I get
The type or namespace name 'whatever' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'whatever' could not be found (are you missing a using directive or an assembly reference?)
as a Problem everywhere any part of that package is used. How can I tell the language server where nuget put the dll? (and how can I find that, in the first place?)
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ ✅ Nuget doesnt find any packages
C#CC# / help
3y ago
Nuget packages
C#CC# / help
15mo ago
❔ Powershell Cmdlet with C# Nuget packages. Can't find the Nuget assemblies when I run the module!
C#CC# / help
3y ago
Help with NuGet Packages
C#CC# / help
2y ago