I am getting error CS0579 when I try to put two class libraries as a dependency to a dotnet core MonoGame windows DirectX project. The errors come from a generated source file.
One class library is a collection of classes or Framework I want to use and which I want to keep seperate.
The second class library is there to hold shared code and content for the different platforms.
So the project structure is very simple:
- directx monogame project
- opengl desktop monogame project
- dotnet core class library targeting net standard for the shared platform code and content
- a new dotnet core class library targeting net standard for the small framework / collection of classes I have built in the past
I think combining 3 and 4 would solve everything but I guess I maybe have some configuration
wrong with the dependencies.
Any hint what I should check or an info if in general such a solution dependency structure should work fine would be great. I can provide more info or screenshots if that would help?