You Must Add A Reference To Assembly netstandard Version 2.0.0.0

IT Support Forum Forums Development General Discussion You Must Add A Reference To Assembly netstandard Version 2.0.0.0

Tagged: 

Viewing 0 reply threads
  • Author
    Posts
    • #2435
      Webmaster
      Keymaster

      When trying to compile using MSBuild, you may get this error:

      CS0012: The type ‘System.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’.

      This is possibly because you are using the wrong version of MSBuild or you have the wrong Dot Net Targeting Pack installed.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.