Use dll from project reference
I have a class library which adds a few helper functions to a nuget package. This nuget package requires the System.Windows.Forms.dll.
My main project references the class library and my class library references the nuget package.
When i add the DLL to the main project and reference it from there everything works as expected. But when i add it to my class library, it cant be found when running.
Is there a way to make this work?
Project: .net core 6
My main project references the class library and my class library references the nuget package.
When i add the DLL to the main project and reference it from there everything works as expected. But when i add it to my class library, it cant be found when running.
Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Das System kann die angegebene Datei nicht finden. Is there a way to make this work?
Project: .net core 6