I am converting my PCL
project to .Net Standard
project using this article. But getting the following error when building.
I try adding netstandard
reference like below from this thread, but no luck.
<ItemGroup>
<Reference Include="netstandard" />
</ItemGroup>
<ItemGroup>
Complete Error Details
Severity Code Description Project File Line Suppression State 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'.
Please suggest any solution to this problem?
I didn't find netstandard
reference on there, is it have any other name? screenshot of my reference manager
added below.
Initialy, I got another error from windows part. Error details:
Severity Code Description Myproject File Line Suppression State Error NU1201 Project Myproj is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm-aot. Project Myproject supports: netstandard2.0 (.NETStandard,Version=v2.0) Myproject.UW
Choosing the Windows 10 Fall Creators Update for both Target and Min version for my UWP app solved the above problem. I got this from here. Is that fix affect the current error?
netstandard
is not available in reference manager, I edited the question with a screenshot. – Sreejith Sree