3 – Solved: 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’.
Recently I was consuming library from github, which used netstandard library. My project is in .NET Framework 4.6.2 so I had to also add reference of .NET Standard library in my project. Even after adding reference I was getting the error while compiling project through TFS / Azure DevOps Build. Error was: Error CS0012: The type ‘Object’ is defined in […]
Recent Comments