Fluent NHibernate errors in Visual Basic 2010 but not Visual Studio 2008
Hello,
I'm trying out Fluent NHibernate for the first time and I am trying out the "Create your first project" section of fluentnhibernate.org. I built a VB version of the project in Visual Basic 2010 Express. When I tried to build the project, I ran into several of the following errors:
" '___' is not declared. It may be inaccessible due to its protection level."
Some of the values for the ___ include ClassMap, Map, and HasManyToMany.
I also run into the following warnings on various files in the project:
"Namespace or type specified in the Imports 'FluentNHibernate' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases."
I have noticed these series of errors/warnings when trying to build a regular NHibernate project in Visual Basic 2010, but I don't encounter these errors in Visual Studio 2008. Is there something extra that needs to be done when trying to build an NHibernate or FluentNHibernate project in VS 2010?