I am having reference issues with a new class library that I just cant figure out. When I add new nuget packages to my reference list they show up with an icon to the left that is not the normal icon.
When I build the project with dotnet build Corporate.<CompanyName>.repository
I get about 400 build errors because it cant find the assemblies that im referencing and after I build the nuget references are no longer there. I have another project that uses the same nuget packages and I have no issues with it but those references also don't have the nuget package symbol to the left.
You can see in the image below what I mean. I cant get this to build for the life of me and I cant figure out how to add these as references and not package references in the csproj file. Ive tried manually adding the references but it when I reload the project it has a yellow triangle out next to it.
Any help would be appreciated.
After running dotnet build
And I get 330 errors of this kind error CS0246: The type or namespace name 'DbSet<>' could not be found (are you missing a using directive or an assembly reference?)
Even though im referencing the required packages to use DbSet.