Relative Content

Tag Archive for c#.netdlltarget-frameworkdll-reference

Netframework project works with netframework dll but not the netstandard version

I’m referencing a dll (that I took from netstandard directory of a certain nuget package (which is aspose.drawing)) in my netframework project and some of the functionalities show error and won’t work (this is the message I get when I try to compile the project: “Error CS1069 The type name ‘Color’ could not be found in the namespace ‘System.Drawing’.”) and the project won’t build. But when I reference the exact same dll in a netstandard project, it works fine and there is no compile time error.