[英]Error while trying to install a nuget Visual Studio 2017
I'm actually coding a google Map application using Winforms, and I wanted to put markers on some places (I have their lat/long). 我实际上是在使用Winforms编写google Map应用程序的代码,我想在一些地方放置标记(我有经度/纬度)。 So I tried to install the package Gds.googleMap.ultimate that seems to do what I need, but I always get this error: 因此,我尝试安装似乎可以满足我需要的软件包Gds.googleMap.ultimate,但始终会出现此错误:
Unable to install the package "Gds.GoogleMap.Ultimate 4.0.28". 无法安装软件包“ Gds.GoogleMap.Ultimate 4.0.28”。 You try to install this package in a project targeting ".NETFramework, Version = v4.5.2", but the package does not contain any content files or assembly references compatible with this framework. 您尝试在面向“ .NETFramework,版本= v4.5.2”的项目中安装此程序包,但是该程序包不包含任何与此框架兼容的内容文件或程序集引用。 For more information, contact the creator of the package 有关更多信息,请与软件包的创建者联系。
Does someone have an idea of the problem, or should I use another tool for those markers? 有人对问题有想法吗,还是应该使用其他工具来标记这些标记?
Try to change the .net version to a lower version which support your nuget. 尝试将.net版本更改为支持您的nuget的较低版本。
I downloaded the package and it looks like it was not authored correctly. 我下载了该程序包,但它似乎未正确编写。 The package would normally contain a directory structure like the following: 该软件包通常将包含如下目录结构:
$root\\lib\\tfm $ ROOT \\ LIB \\ TFM
This package has a $root\\V4.0.28 structure, which NuGet doesn't recognize. 该软件包具有$ root \\ V4.0.28结构,NuGet无法识别。
More info https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package 更多信息https://docs.microsoft.com/zh-cn/nuget/create-packages/creating-a-package
You need to contact the owners of the package for this one. 您需要与此包的所有者联系。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.