I have a .NET Framework 4.7.2 project (console app) for which I’ve done a NuGet DLL update to a version which they say it depends on .NET 4.8 or .Net Standard. I expected this to work since .Net Standard is compatible with .NET Framework 4.7.2.
Now I’m facing this error:
CS0012 The type ‘Object’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. CreateCommandRouterProxy
for this I’ve added a reference to netstandard as per this question which it resolved with this path:
C:Program Files (x86)Reference AssembliesMicrosoftFramework.NETFrameworkv4.7.2Facadesnetstandard.dll
I have checked the DLL version from there using sn and it has the expected PublicKeyToken. Any help is much appreciated!