I am currently attempting to test a C# client utilizing the NMS API .dlls to communicate with the Apache ActiveMQ Message Broker. I am using Visual Studio C# 2010 Express for development and my target framework is 4.0 Client Profile. However, I am encountering conflicts when trying to build the project which I am unsure how to resolve.
My settings are as follows: - .Net Target Framework 4.0 Client Profile - Apache.nms-1.5.0.dll - Apache.nms.ActiveMQ-1.5.2.dll
When trying to build the client, I receive the following conflict (which has been translated from German):
My settings are as follows: - .Net Target Framework 4.0 Client Profile - Apache.nms-1.5.0.dll - Apache.nms.ActiveMQ-1.5.2.dll
When trying to build the client, I receive the following conflict (which has been translated from German):
Assembly “Apache.NMS.ActiveMQ” couldn’t be solved because it has a dependency to System.Web, Version=4.0.0.0 which doesn’t exists in the target framework.
同样适用于Apache.NMS。
我该如何解决这个问题?据我所知,在.Net 4.0中没有System.Web(Version=4.0.0.0)dll!但是两个Apache NMS dll是为.Net 4.0准备的。