Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-466

Nuget Apache.NMS.ActiveMQ 1.6.2 built against higher version of Apache.NMS than available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.6.2
    • None
    • ActiveMQ, NMS

    Description

      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

      Attachments

        Activity

          People

            jgomes Jim Gomes
            brandonagr Brandon Green
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: