Xamarin - Issues with Visual Studio 2019

If you are getting the following warning

The primary reference "Scandit.BarcodePicker.Unified" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile78".

It means that .NET Portable Library targeting pack is missing (it is not installed by default with _Mobile development with .NET_ workload in Visual Studio 2019)


This component can be downloaded in two ways:

1) From Microsoft download page: []

2) From Visual Studio Installer -> Individual components -> .NET Portable Library targeting pack. 


The sample needs to be upgraded following these steps:

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request