Brandon Green created AMQNET-466:
------------------------------------

             Summary: Nuget Apache.NMS.ActiveMQ 1.6.2 built against higher 
version of Apache.NMS than available
                 Key: AMQNET-466
                 URL: https://issues.apache.org/jira/browse/AMQNET-466
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ, NMS
    Affects Versions: 1.6.2
            Reporter: Brandon Green
            Assignee: Jim Gomes


I'm using VS2013, if you create a c# console application project targetting 
.net 4.0 and use nuget to add a reference to Apache.NMS.ActiveMQ it will add:
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Apache.NMS" version="1.6.0" targetFramework="net40" />
  <package id="Apache.NMS.ActiveMQ" version="1.6.2" targetFramework="net40" />
</packages>

But the project is then not buildable because of the error:
c:\Users\...\Documents\Visual Studio 
2013\Projects\ConsoleApplication3\packages\Apache.NMS.ActiveMQ.1.6.2\lib\net40\Apache.NMS.ActiveMQ.dll
 : error CS1705: Assembly 'Apache.NMS.ActiveMQ, Version=1.6.2.3271, 
Culture=neutral, PublicKeyToken=82756feee3957618' uses 'Apache.NMS, 
Version=1.6.0.3083, Culture=neutral, PublicKeyToken=82756feee3957618' which has 
a higher version than referenced assembly 'Apache.NMS, Version=1.6.0.3061, 
Culture=neutral, PublicKeyToken=82756feee3957618'

I had to force the install of Apache.NMS.ActiveMQ 1.6.0 from nuget so that my 
project would build



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to