RSB and RQ NuGet dependency versioning

29 views
Skip to first unread message

Jakub Berezanski

unread,
Oct 27, 2012, 7:29:04 PM10/27/12
to rhino-t...@googlegroups.com
Currently, NuGet packages for RSB and RQ do not specify a version number in their dependencies on other Rhino.* packages.
 
E.g.
Rhino.ServiceBus.Castle 3.0.0 depends on:
- Castle.Core 3.1
- Castle.Windsor 3.1
- Rhino.ServiceBus <no version>
 
Rhino.ServiceBus.RhinoQueues 3.0.0 depends on:
- Rhino.ServiceBus.References <no version>
- Rhino.PersistentHashTable <no version>
- Rhino.ServiceBus <no version>
- Rhino.Queues <no version>
 
Rhino.Queues 2.0.0 depends on:
- Rhino.ServiceBus.References <no version>
- PowerThreading 20101026.0
- Common.Logging 2.1.1
This is equivalent to saying: "Rhino.ServiceBus.Castle 3.0.0 will work with any past or future Rhino.ServiceBus version."
 
While it's not a problem when using the latest RSB, it makes it very difficult to install an older version. Basically, when doing Install-Package Rhino.ServiceBus.Castle -version 2.3.4, NuGet installs Rhino.ServiceBus 3.0.0 (the latest available). This is, of course, completely wrong.
 
If the dependencies specified a version, e.g. Rhino.ServiceBus.Castle 2.3.4 => Rhino.ServiceBus 2.3.4, the problem would disappear -  when adding Rhino.ServiceBus.Castle 2.3.4 NuGet would install Rhino.ServiceBus 2.3.4.
 
Already published packages cannot be fixed, but the problem can be prevented in the future. Unless, perhaps, there are valid reasons for omitting version numbers in the dependencies?

Corey Kaylor

unread,
Nov 2, 2012, 11:06:01 AM11/2/12
to rhino-t...@googlegroups.com
This is in my ignorance as I am typically running on the latest version.

--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhino-tools-dev/-/B2Gt5xJcCLcJ.
To post to this group, send email to rhino-t...@googlegroups.com.
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.

Jakub Berezanski

unread,
Nov 3, 2012, 6:45:28 PM11/3/12
to rhino-t...@googlegroups.com

Corey Kaylor

unread,
Nov 3, 2012, 7:34:58 PM11/3/12
to rhino-t...@googlegroups.com
I will pull them in next week, thanks.

To view this discussion on the web visit https://groups.google.com/d/msg/rhino-tools-dev/-/KHqVJjFn9zUJ.
Reply all
Reply to author
Forward
0 new messages