Source code for Nhibernate 3.1.0.4000 is missing in GitHub, where could I find it? - nhibernate

We are using this specific version of Nhibernate in our application. And now we come across a situation where we want to debug an issue through Nhibernate, But I am unable to find source code for this specific version in Nhibernate git.

Source package can be downloaded here
https://sourceforge.net/projects/nhibernate/files/NHibernate/3.1.0.GA/
Other versions (latest at the moment is 5):
https://sourceforge.net/projects/nhibernate/files/NHibernate/

Related

Where can I get hold of a 3.2 version of NHibernate.Caches.SysCache2.dll?

Upgrading to NHibernate 3.2, but can't seem to find a 3.2 version of NHibernate.Caches.SysCache2.SysCacheProvider.
Both SourceForge and NuGet claim to have 3.2, but when I download it I get version 3.1.0.4000, which doesn't seem to work with NH3.2 (NHibernate.HibernateException: could not instantiate CacheProvider: NHibernate.Caches.SysCache2.SysCacheProvider, NHibernate.Caches.SysCache2).
I'm the author of the NHibernate.Caches.SysCache2 NuGet package, and I'm pretty sure it works with NHibernate 3.2.
It doesn't even exist for any versions other than 3.2, which makes it difficult to believe you are getting and older version.
If you remove all NH-related packages from your project and run the following:
PM> Install-Package NHibernate.Caches.SysCache2
You should get everything you need.
Now, if you installed via the FluentNHibernate package (which doesn't mark the version referencing NH3.2 as the current one), that's a different problem.
Looks like the answer is that NHibernate.Caches version 3.2 has version number set to 3.1.0.4000 for the dll, and that this actually works fine with NHibernate. I had neglected to update one of my references.
Thank you all for your assistance, I will leave this here for reference for others (I did notice a few others having similar problems on other forums).

"No endpoint configuration found in scanned assemblies” for copied NServiceBus project

I made my NServiceBus solution and it was all working. I then moved one of the projects to a different solution.
When I run them in that solution I get this error:
No endpoint configuration found in scanned assemblies. This usually happens when NServiceBus fails to load your assembly contaning IConfigureThisEndpoint.
I have a class in the project I am trying to get running that looks like this:
public class EndpointConfig : IConfigureThisEndpoint, AsA_Server
{
}
I fully copied the folder that contained this project when I moved it to the new solution. (So this is the exact same class that is in the original and the original worked perfectly.)
I am not sure what to do, so I did a bit of googling and came up on this question.
Based on the answer there, I have tried this:
Make sure that there is a class that implements IConfigureThisEndpoint
Make sure that only one class implements IConfigureThisEndpoint
Make sure that the NServiceBus libraries I am using are .NET 4 libraries
Make sure that the implementing class is public (see code above)
I don't do any non-default actions with regards to signing so delay-signing should not be an issue
Any ideas what would cause this error (besides what I have tried) would be great!
UPDATE:
I remembered that I had used the Modeler to setup the dependencies in the original project and NuGet to do it in the copied project.
So I went and compared versions. The Modeler based project was using NServiceBus 2.5.0.1496. When I used NuGet to upgrade that to NServiceBus 2.6.0.1505 (what I had in my copied project) I started getting the same error (in my original project that had previously worked just fine).
So I copied the working DLLs into my broken project and it all started working.
So I can only conclude that this is a version issue. Something with how I have set things up (defaults for the Modeler) is not compatible with version 2.6 of NServiceBus.
NuGet does not have history of the same version of NServiceBus as the Modeler tools has. I think this is an error because NServiceBus packages don't reset the build (last) number. And there is a NServiceBus version
2.6.1496,
but not a
2.5.1496
like what comes with the modeler (there is a 2.5.0.1490, but close only counts in horseshoes and hand grenades).
So I am going to have to abandon NuGet for NServiceBus (because I need the exact version that is in the Modeler or I have to figure out why I am getting this error.)
If anyone has a better way to deal with this problem I would LOVE to hear it.
I remembered that I had used the Modeler to setup the dependencies in the original project and NuGet to do it in the copied project.
So I went and compared versions. The Modeler based project was using NServiceBus 2.5.0.1496. When I used NuGet to upgrade that to NServiceBus 2.6.0.1505 (what I had in my copied project) I started getting the same error (in my original project that had previously worked just fine).
So I copied the working DLLs into my broken project and it all started working.
So I can only conclude that this is a version issue. Something with how I have set things up (defaults for the Modeler) is not compatible with version 2.6 of NServiceBus.
NuGet does not have history of the same version of NServiceBus as the Modeler tools has. I think this is an error because NServiceBus packages don't reset the build (last) number. And there is a NServiceBus version
2.6.1496, but not a
2.5.1496
like what comes with the modeler (there is a 2.5.0.1490, but close only counts in horseshoes and hand grenades).
So I am going to have to abandon NuGet for NServiceBus (because I need the exact version that is in the Modeler or I have to figure out why I am getting this error.)

Using Castle NHibernate Integration Facility with Castle Core 1.2

I'm working on a personal learning project to help me understand how to use Castle Windsor and Fluent NHibernate. So far written an ASP.NET MVC project which does some basic dependency injection of services into controllers.
My project contains the following references:
Castle.Core 1.2.0.0
Castle.DynamicProxy 2.2.0.0
Castle Windsor 2.1.0.0
NHibernate.Core 2.1.2.4000
FluentNHibernate 1.1.0.694
I managed to get these playing nicely together by taking the NHibernate.ByteCode.Castle.dll from the Active Record project as I found suggested elsewhere on StackOverflow.
Id like to use the NHibernate Integration Facility but I'm having a bit of a dependency nightmare trying to find a compatible version. All of this is still very new to me and I think Ive done well to get as far as I have!
What am I going to have to do in order to add the NHibernate Integration Facility to my project? Does a compatible version exist and if so where can I find it? Alternatively is it possible to compile a version that works with the dependencies Im using?
There is a compatible version, but you must build it yourself as there have been no releases of the library.
Open a command prompt, and given you have installed git:
git clone https://github.com/castleproject/Castle.Facilities.NHibernateIntegration.git
cd Castle.Facilities.NHibernateIntegration
git reset --hard aef2d2ef324071d961474b41fcb312dd48d0e946.
(Resetting to commit aef2d2e gives you the version of the libs you use.)
Now run ClickToBuild.cmd and you'll find the facility assembly in the build folder.
If you don't want to install git you can also download the source from Github for this commit by clicking on the download button at this link:
https://github.com/castleproject/Castle.Facilities.NHibernateIntegration/commit/aef2d2ef324071d961474b41fcb312dd48d0e946

Where is the NHibernate 3.0 source repository?

I've been looking everywhere. Maybe I'm just really nearsighted but I can't seem to find it anywhere. Link anyone?
NHibernate 3.0 is also known as the trunk. It has not been officially released yet.
You can find the source code in SVN here:
https://nhibernate.svn.sourceforge.net/svnroot/nhibernate/trunk/
The main website for NHibernate is here:
http://nhforge.org/Default.aspx
If you wanted to download binaries for the trunk instead of source, you could try here:
http://www.hornget.net/packages/orm/nhibernate/nhibernate-trunk

Where do I download Iesi.Collections from?

Trying out nHibernate, it says it can't find Iesi.Collections.
Where can I get this from? Shouldn't it ship with the nHibernate download if it is so vital?
The source for Iesi.Collections delivered with NHibernate is here:
https://github.com/nhibernate/nhibernate-core/tree/3.3.x/src
During 2012 it was moved to separate repository:
https://github.com/nhibernate/iesi.collections
Recently master in that repo was changed heavily to adjust to .Net 4, but before that the API had been essentially unchanged for many years.
Binaries of new and old versions are available on NuGet.
This might be an old question, but it's available via NuGet.