简体   繁体   English

吊床nuget安装

[英]Hammock nuget installation

Disclaimer: I'm new to .NET, nuget, windows store applications and so on. 免责声明:我是.NET,nuget,Windows存储应用程序等的新手。

I'm trying to follow this tutorial to create a Twitter-based universal windows app. 我试图按照教程创建一个基于Twitter的通用Windows应用程序。

But I can't install Hammock, it keeps getting me: 但是我无法安装Hammock,它使我不断:

Install failed. Rolling back...
Install-Package : Impossibile installare il pacchetto 'Hammock 1.3.1'. Si sta tentando di eseguire l'installazione in un progetto destinato a   '.NETCore,Version=v4.5.1', ma il 
pacchetto non contiene riferimenti ad assembly o file di dati compatibili con il framework. Per ulteriori informazioni, contattare l'autore del pacchetto.
At line:1 char:1
+ Install-Package Hammock
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId :     NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

The italian part say something like "I can't install Hammock because the package doesn't contain references to assembly or files compatible with the framework". 意大利语部分说类似“我无法安装Hammock,因为该软件包不包含对与框架兼容的程序集或文件的引用”之类的内容。

Thanks for the help. 谢谢您的帮助。

Hammock does not have any assemblies that are compatible with the .NETCore target framework (Windows Store). Hammock没有任何与.NETCore目标框架(Windows应用商店)兼容的程序集。 It has assemblies for: 它具有以下组件:

.NET 2.0, 3.5, 4.0 Silverlight 4 Silverlight 4 + Windows Phone 7 Silverlight 4 + Windows Phone 7.1 .NET 2.0、3.5、4.0 Silverlight 4 Silverlight 4 + Windows Phone 7 Silverlight 4 + Windows Phone 7.1

To get it to work I suspect you will have to create a Windows Phone Silverlight project instead of a Windows Store project. 为了使其正常工作,我怀疑您将必须创建Windows Phone Silverlight项目而不是Windows Store项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM