I have a Visual Studio web app with 2 projects in the solution: the main C# app and another C# class library I wrote. The class library references some nuget packages.
When I build & run my solution I get a reference problem because the main app doesn't have the nuget packages. The only way I can get it to run is to add the nuget packages again to the main app, even though it doesn't actually use them.
Is there a way to get VS to automatically include the relevant packages in the final build?