Hi all,
I have a following problem: working on a project with NHibernate and Spring (using integration project for NHibernate). Until I do not reference to NHibernate (being provided in the Spring.Data.NHibernate bundle) I have all Spring.Data.NHibernate code completion information being loaded well. However when I reference project to NHibernate assembly the following errors are reported in an output window in #D. Using newest daily build but it seems that this error was being reported by earlier builds as well.
The error says that I am using incorrect NHibernate version (not the one that Spring is expecting, right?). However as I've mentioned I am using the one that has been bundled with integration project... Is it possible that the problem is somwhere else?
Following is an error message:
Error loading code-completion information for Spring.Data from ?:
Could not find assembly file.
Error loading code-completion information for NHibernate from C:\Downloads\Blog\Lib\NHibernate.dll:
Error loading assembly:
System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean forIntrospection, Boolean raiseResolveEvent)
at System.Reflection.AssemblyName.nInit()
at System.Reflection.AssemblyName..ctor(String assemblyName)
at ICSharpCode.SharpDevelop.Dom.CecilReader.LoadAssembly(String fileName, ProjectContentRegistry registry)
at ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry.LoadProjectContent(String itemInclude, String itemFileName)
at ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry.GetProjectContentForReference(String itemInclude, String itemFileName)
Error loading code-completion information for Spring.Data.NHibernate from C:\Downloads\Blog\Lib\Spring.Data.NHibernate.dll:
Error loading assembly:
System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean forIntrospection, Boolean raiseResolveEvent)
at System.Reflection.AssemblyName.nInit()
at System.Reflection.AssemblyName..ctor(String assemblyName)
at ICSharpCode.SharpDevelop.Dom.CecilReader.LoadAssembly(String fileName, ProjectContentRegistry registry)
at ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry.LoadProjectContent(String itemInclude, String itemFileName)
at ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry.GetProjectContentForReference(String itemInclude, String itemFileName)