Hello,
When opening a project, these warnings are shown in the error list window in Visual Studio 2019:
El paquete "Plugin.MediaManager 0.4.5" se restauró con ".NETFramework,Version=v4.6.1" en lugar de la plataforma de destino del proyecto ".NETStandard,Version=v2.0". Puede que el paquete no sea totalmente compatible con el proyecto.
El paquete "Plugin.MediaManager.Forms 0.4.5" se restauró con ".NETFramework,Version=v4.6.1" en lugar de la plataforma de destino del proyecto ".NETStandard,Version=v2.0". Puede que el paquete no sea totalmente compatible con el proyecto.
Translation:
The "Plugin.MediaManager 0.4.5" package was restored with ".NETFramework, Version = v4.6.1" instead of the project target platform ".NETStandard, Version = v2.0". The package may not be fully compatible with the project.
The package "Plugin.MediaManager.Forms 0.4.5" was restored with ".NETFramework, Version = v4.6.1" instead of the target platform of the project ".NETStandard, Version = v2.0". The package may not be fully compatible with the project.
This is the csproj file:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<ProduceAssemblyReference>true</ProduceAssemblyReference>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Plugin.MediaManager" Version="0.4.5" />
<PackageReference Include="Plugin.MediaManager.Forms" Version="0.4.5" />
<PackageReference Include="Xamarin.Forms" Version="4.1.0.555618" />
<PackageReference Include="Xamarin.Essentials" Version="1.1.0" />
<PackageReference Include="ZXing.Net.Mobile" Version="2.3.2" />
<PackageReference Include="ZXing.Net.Mobile.Forms" Version="2.3.2" />
</ItemGroup>
</Project>
Xamarin projects allow only .NET version up to 2.0, so I have no idea why those warnings are shown.
Regards
Jaime