UWP application C # XAML, MVS2017
I had a similar problem today with the following build error after installing a new NUGET package (specifically Microsoft.Toolkit.Uwp.UI.Controls NUGET package):
"cannot resolve assembly or windows metadata file 'type universe cannot resolve assembly: netstandard, version=2.0.0.0, culture=neutral, …"
This turned out to be incompatibility between versions of the NUGET package . I figured this out by digging a bit into the NUGET package manager with package versions. A bit of trial and error, and I found that by downgrading the version of the newly installed package and updating the version of another package (in this case NewtonSoft.Json ), I started building normally, without errors and warnings ...
source share