Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6318551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:39:03+00:00 2026-05-24T15:39:03+00:00

I have three projects: TestNHibernateMappings – A console project WebApplicationPbiBoard – An Asp.Net MVC

  • 0

I have three projects:

  1. TestNHibernateMappings – A console project
  2. WebApplicationPbiBoard – An Asp.Net MVC 3 Web project
  3. WebApplicationPbiBoard.Tests – An MsTest project

TestNHibernateMappings needs a reference to the PbiMap class located in WebApplicationPbiBoard.Models.ScrumModels_Mappings.

I’ve added WebApplicationPbiBoard as a project reference to TestNHibernateMappings, but Visual Studio keeps giving me namespace non-existence error when I try to include it. I’ve also tried removing and re-adding the reference, and performing a clean build of the entire solution both with no luck.

Any idea how to fix this? I’ve tried teaching my project about Descartes and disabling the Solipsist=true flag in the Console App, but those didn’t work out either. Thanks in advance.

Here’s the relevant code:

    MsSqlConnectionStringBuilder builder = new MsSqlConnectionStringBuilder();
    builder.Database("WebApplicationPbiBoard");
    builder.Server("local");
    builder.TrustedConnection();

    return Fluently.Configure()
        .Database(MsSqlConfiguration.MsSql2008.ConnectionString(builder.ToString()))
        .Mappings(m => m.FluentMappings.AddFromAssemblyOf<WebApplicationPbiBoard.Models.ScrumModels_Mappings.PbiMap>())
        .BuildSessionFactory();

The Fluently.Configure()... part is my attempt to configure a FluentNHibernate Session.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T15:39:03+00:00Added an answer on May 24, 2026 at 3:39 pm

    Check the target framework for TestNHibernateMappings and set it to .NET Framework 4.0. I suspect that you currently have it set to .NET Framework 4.0 Client Profile and that is the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Environment In my solution I have three projects, they are: Web (Asp.net MVC4) Model
I have an MVC solution setup like this, with three 'projects'. Web (MVC Project,
I have a ASP.NET MVC solution with three projects: SquarkMVC SquarkBLL SquarkDAL The SquarkDAL
In cruisecontrol.net I have three projects, A, B and C that needs to be
I have three projects written with VB.NET (2005) and have to convert them to
I have a project which has shared functionality between three other projects and have
I have several projects open in an Eclipse workspace. Like so: com.harbl.project.one com.harbl.project.two com.harbl.project.three
I have a solutions where three projects are running. One of my project is
Strange and probably trivial problem. I have three projects in one solution (.NET 2.0,
I have three Silverlight 3 applications in the same solution. In my asp.net hosting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.