-->
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: NHibernateContrib - compiling pains
PostPosted: Thu Aug 11, 2005 6:43 am 
Beginner
Beginner

Joined: Tue Aug 09, 2005 9:43 am
Posts: 30
Location: Lisbon, Portugal
I downloaded the NHibernateContrib zip and I wanted to fully build and test it. In particular, I wanted to add new features to the Nullable Types (to address my own JIRA issue... :wink: ). I must say I did try to find some info on this but to no avail.

So I tried building it using Visual Studio .NET - the straightforward way: open the .sln file and Rebuild Solution. I had a few errors from not having the .snk which I assume are normal since probably it shouldn't be distributed but to team members. So I commented out all the
Code:
//[assembly: AssemblyKeyFileAttribute("..\\..\\NHibernate.snk")]

lines from the AssemblyInfo.cs files.

Now the error I'm still getting is:
C:\Projectos\NHibernateContrib\src\NHibernate.Mapping.Attributes\HbmWriter.cs(1999,100): error CS0246: The type or namespace name 'CacheAttribute' could not be found (are you missing a using directive or an assembly reference?)

I ran a Find on CacheAttribute in both the NHibernate and the Contrib solutions and its declaration was nowhere to be found (by me maybe? :o ).

I won't even bother asking if I'm doing anything wrong. I'll just plainly ask WHAT am I doing wrong?! :lol:

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 11, 2005 9:32 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
Hi,

CacheAttribute (and CacheUsage)) were added recently by the Generator of NHMA; but the solution hasn't been updated to include this two files :oops:

So you can either run NAnt in NHMA directory or add the files CacheAttribute.cs and CacheUsage.cs in the solution and build it.

Anyway, you don't need to build NHMA if you are working on Nullables.

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


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.