-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Team System Beta 2 with NHibernate...
PostPosted: Sat Jun 04, 2005 11:49 pm 
Regular
Regular

Joined: Mon May 16, 2005 2:15 pm
Posts: 59
I am trying to build a hibernate app with tests using the build in Unit testing in VS 2005 Beta 2.

I have not recompiled NHibernate. The 2.0 fw is "supposed" to be able to run 1.1 compiled assemblies.

I am using NHibernate 0.8.4 and getting to following error:

See C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\sdk\bin\mdaBoilerplate.exe.mda.config for documentation.'Managed': Loaded 'C:\Documents and Settings\Administrator\Local Settings\Application Data\VSEqtDeploymentRoot\d919e145-23a5-4bf8-a714-97ed81b84dea\Out\NHibernate.DLL', Symbols loaded.
Managed Debugging Assistant 'BindingFailure' has detected a problem in 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\vstesthost.exe'.

Additional Information: An assembly failed to load, returning HRESULT 0x80131040. It would have had display name 'NHibernate', been loaded from code base '' in binding context 0 of the AppDomain with ID 2.

See C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\sdk\bin\mdaBoilerplate.exe.mda.config for documentation.The thread '<No Name>' (0xd0c) has exited with code 0 (0x0).
The thread '<No Name>' (0xcc8) has exited with code 0 (0x0).
The thread 0x1ec has exited with code 0 (0x0).
The thread 0xfbc has exited with code 0 (0x0).
The program '[344] vstesthost.exe: Managed' has exited with code 0 (0x0).

Any one have any experience with this. Is this something I am doing wrong or perhaps a bug in Team System that I should report to MS?

Thanks,
BOb


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 05, 2005 3:20 pm 
Regular
Regular

Joined: Mon May 16, 2005 2:15 pm
Posts: 59
Ok,

I think I got this figured out. Although the fix was a bit extreem.

When I first created my test project I had named it NHibernate. Bad idea, since I was also referencing NHibernate.dll. So, when I figured this out I renamed the project to ParentChildTest.

But, not I was still getting a simmilar error. So, I look at the project properties and it was still set to name the assembly NHibernate. So, I changed that also.

Still didn't see to work. It still seemed to want to built the assembly named NHibernate.

So, I blew away the whole project. Created a new one in a new folder. Added the existing code and xml files to it, and viola, it started working.

Learning every day,
BOb


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.