if so.... Check your project properties, and change the target framework to
".Net Framework 4"... I've this same issue with ".Net Framework 4 Client
Profile" (wich seems to be the default target framework)

http://screencast.com/t/YzEzY2Y2NTU


2010/4/15 José F. Romaniello <[email protected]>

> are you using VS 2010?
>
> 2010/4/15 Gabriel <[email protected]>
>
> Hello there
>>
>> I am trying to follow this example:
>> http://www.fincher.org/tips/Languages/NHibernate.shtml
>>
>> And I am having some trouble. For some reason it looses the reference
>> when I use 'Debug' and tries to run the project.
>>
>> The NHibernate in these two rows lights up red with the error:
>> Error   15      The type or namespace name 'NHibernate' could not be found
>> (are you missing a using directive or an assembly reference?)   D:\Temp
>> \VSPROJ\NHibernatePets\NHibernatePets\Program.cs        5       7
>> NHibernatePets
>>
>> using NHibernate;
>> using NHibernate.Cfg;
>>
>> If I re-add the NHibernate.dll as a reference, VS says that everything
>> is great again, and if I try to run or build it looses the reference.
>>
>> What am I missing here? Please assist.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "nhusers" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<nhusers%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to