【发布时间】:2017-03-22 14:55:27
【问题描述】:
我正在尝试在我的 Visual Studio 2017 Raspberry Pi 项目中安装 RabbitMQ。
我正在尝试两种不同的方式:
1) This first : https://paolopatierno.wordpress.com/2015/08/17/windows-iot-core-and-m2mqtt-a-simple-marriage/
I'm trying to add RabbitMqClient instead of M2Mqtt used in this tutorial.
I've got this error (in french) :
Install-Package : Le package RabbitMQ.Client 4.1.1 n'est pas compatible avec uap10.0 (UAP,Version=v10.0). Le package RabbitMQ.Client 4.1.1 prend en charge :
- net451 (.NETFramework,Version=v4.5.1)
- netstandard1.5 (.NETStandard,Version=v1.5)
But i use .NET 4.5.1 or +. And when I'm trying to add the "RabbitMQ.Client.dll" to my project, I've got the following error :
'A reference to '...' could not be added. The project targets '.NETCore' while the file reference targets '.NETFramework'. This is not a supported scenario.'
2) The second way i'm trying to explore is to create a new "Background Application (IoT)" but i have the same errors.
感谢您的帮助,抱歉英语不好。
【问题讨论】:
标签: raspberry-pi rabbitmq iot windows-10-iot-core