I am trying to find a version of intense architecture that works with Visual Studio 2008, and NHibernate 3 , But it is unsettled. I want to use the QueryOver API from NHibernate version 3. The latest build is available which I can find faster-ARCHITECTURE-1.6.0.0- sample-pack.zip which is compatible with Visual Studio 2008, MVC 2 and NHibernate 2. The new version of all intense architecture is only compatible with Visual Studio 2010. I tried to build a custom architecture:
I changed the reference in the "Sharp Architecture 1.6 Full Source" project ...:
... replace old DLS with new ones in Projects bin directory. Then I went to click tobuild.bat (located in the downloaded intensive architecture zip file base directory) to create the solution. The construction was successful and passed all the tests. Then I changed all the DLSs in my own project with the new Sharp architecture, which I just made. My project compiles, but when I run it, SharpArch.Data \ NHibernate \ NHibernateSession.cs throws the following exception:
File or assembly could not be loaded 'Castle.Core , Version = 2.5. 1.0, a clear definition of culture = neutral, public K-token, = 407D8080D44FBDC or one of its dependencies does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I tried to use a compulsive redirect for the castle. My web Core in config:
& lt; Configuration & gt; & Lt; Order & gt; & Lt; Assembly binding xmlns = "karash: schema-microsoft-com: asm.v1" & gt; & Lt; DependentAssembly & gt; & Lt; Assembly ID = "Castle. Core" PublicKitokan = "407 Deed 808D44FBDC" Culture = "Neutral" /> & Lt; Compulsive redirects older version = "2.5.1.0" Newverson = "2.5.2.0" /> & Lt; / DependentAssembly & gt; & Lt; / AssemblyBinding & gt; & Lt; / Order & gt; & Lt; / Configuration & gt;
But it still does not work
Am I on the right track? What else can I do to make this work?
I did this. You only have to change the references in S # projects as there is no change in relation to S # from NA -2 2.1 to 3.0 (or 3.1 if you want one most recently).
It would be a little bit like this in a little cumbersome, but definitely manageable.
Note: Do not forget that projects like Fluent NIBNET should also be updated to use NH3.
Comments
Post a Comment