簡體   English   中英

.Net Micro與Microsoft Azure

[英].Net Micro with Microsoft Azure

我正在嘗試使Netduino與Azure進行通信。 我發現了其他幾個項目,在它們的源代碼中,它們像其他任何Azure項目一樣使用Microsoft.WindowsAzure包。 但是,在我的項目中,它聲稱程序包名稱無法解析。

我發現必須進入Manage NuGet Packages並安裝它的地方,但是當我嘗試時,它會停止JSON的安裝並將其全部回滾。

這是我收到的錯誤消息:

Adding 'Newtonsoft.Json 5.0.8' to Netduino.
Uninstalling 'Newtonsoft.Json 5.0.8'.
Successfully uninstalled 'Newtonsoft.Json 5.0.8'.
Install failed. Rolling back...
Could not install package 'Newtonsoft.Json 5.0.8'. 
You are trying to install this package into a project that targets '.NETMicroFramework,Version=v4.2', 
but the package does not contain any assembly references or content files that are compatible with that framework. 
For more information, contact the package author.

我還沒做什么 我究竟做錯了什么?

AFAIK Newtonsoft.Json與.NET Microframework不兼容

“支持.NET 2,.NET 3.5,.NET 4,Silverlight,Windows Phone和Windows 8” (來自http://json.codeplex.com/

實際上,您會收到此錯誤:您正在嘗試將此軟件包安裝到以'.NETMicroFramework,Version = v4.2'為目標的項目中,但是該軟件包不包含任何與該框架兼容的程序集引用或內容文件。

如果您在GitHub上運行NETMF 4.2或更高版本,則可以使用NETMF.Json。

我在XDuts NetMF客戶端的NetDuino實時發布/ 訂閱客戶端中使用它

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM