Lack of reference usually happens, when you import project into IDE or when you switch to branch with some changes.
In Visual Studio you can use NuGet to get necessary libraries/packages.
One way is using general NuGet manager:
Tools → NuGet Package Manager → Manage NuGet Packages for Solution
Another way is using NuGet for particular project in your solution:
[Solution Explorer] → expand solution → expand project → References → context menu → Manage NuGet Packages
Missing references you can browse by name and install in chosen project.
After reference was installed, refresh project tree and build solution/project.
Brak komentarzy:
Prześlij komentarz