How to install protobuf-net on Visual Studio 2012 using NuGet?

I want to install protobuf-net using NutGet and Visual Studio 2012.

However, if I try to install it, I received the following error message from NuGet:

'protobuf-net' already has a dependency defined for 'NETStandard.Library'.

I tried installing NETStandard.Library, but there is an error:

The NETStandard.Library 1.6.0 package requires the NuGet client version '2.12' or higher, but the current NuGet version is "2.8.60318.667".

I also tried updating NuGet (uninstalling it, then reinstalling it), but Visual Studio 2012 seems to be stuck in version 2.8.

+4
source share
2

Visual Studio 2012 , , , Nuget .Net Core. , protobuf-net. , .NETStandard . :

Install-Package protobuf-net -Version 2.0.0.668
+10

, protobuf-portable-net .NET 4.5 VS 2013 , : 2.0.0.668. , . enter image description here

0

Source: https://habr.com/ru/post/1649508/


All Articles