I created a new .NET XUnit Core Project, converted it .NET Framework 4.6.1 to be similar to rest of legacy solution and tried to add in a new test. I realized that I need Glass Mapper for an ISitecoreContext (which I think might be depreciated but we use it in our code), because this is a Sitecore solution with some custom code in various projects, so I tried to add the same Glass Mapper libraries. Therefore, I unloaded a couple of other projects, combed their project files to find the versions of Castle.Core, Glass.Mapper.Sc, and Sitecore Nuget packages, and then added those Nuget packages into my project.
However, now I can't add in Glass.Mapper.Sc namespace into my new test file. Glass.Mapper exists but not Glass.Mapper.Sc. The older projects are .NET Framework 4.6.1 and the Nuget package versions are the same. The only thing I can see different is that the old project uses "References" and the new project has the Nuget packages under Dependencies. I think the older projects just link to the solution's Nuget packages in the root's packages folder.
What am I missing in this project? Is this because I converted it from .net core to framework 4.6.1 in the project file? I thought new projects in C# had their own Nuget packages and assemblies instead of the solution having them? Is this because new projects are different in how they address References? I cannot alter the solution or other projects (because we are trying to fix up this legacy code). I am sure this is something silly I just overlooked or something fundamental I missed. Thank you in advance.