Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# talon 6/8/2007 8:13 PM
I have some problems building the gallery and contact us modules in VS 2005 SP1,

Can someone send only the binaries for those?

Thanks

# talon 6/8/2007 9:01 PM
This is my problem:

Error 2 Assembly 'Cuyahoga.Core, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null' uses 'NHibernate, Version=1.0.4.0, Culture=neutral, PublicKeyToken=154fdcb44c4484fc' which has a higher version than referenced assembly 'NHibernate, Version=1.0.2.0, Culture=neutral, PublicKeyToken=154fdcb44c4484fc' c:\Documents and Settings\user\Desktop\Cuyahoga-1.5.0-src\Core\bin\Debug\Cuyahoga.Core.dll Cuyahoga.Modules.ContactUs


# martijnb 6/9/2007 4:01 AM
Remove the reference to NHibernate in the modules and re-add it again, pointing to the nhibernate.dll that ships with Cuyahoga.
# swilliam 6/9/2007 4:05 AM
Hi there

You may have to add this to your web.config or app.config:
	<runtime>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
			<dependentAssembly>
				<assemblyIdentity name="NHibernate" publicKeyToken="154fdcb44c4484fc" culture="neutral" />
				<bindingRedirect oldVersion="1.0.2.0" newVersion="1.0.4.0"/>
			</dependentAssembly>
		</assemblyBinding>
	</runtime>

This will tell the application to use 1.0.2.0 where it needs 1.0.4.0.

Many thanks

Simon