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

  • SEARCH
  • Home
  • 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 4023558
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:36:47+00:00 2026-05-20T10:36:47+00:00

Folks, I am having a problem with a c#, multi-project solution in Visual Studio

  • 0

Folks,

I am having a problem with a c#, multi-project solution in Visual Studio 2010 SP1.

Here is the Solution Structure:
BNLib – amy personal library of utilities
WidgetClientApp – The asp.net application front end
WidgetConsoleUtilities – A console application
WidgetCore – contains shared interfaces, classes and enums
WidgetMiddleTier – Bussiness logic
WidgetDataLayer – DB access via linq to SQL.

The problem
After adding a reference to the middle tier assembly (WidgetMiddleTier, which contains namespace Widget.MT) to the console application (WidgetConsoleUtilities), I added a using directive to my program.cs page:

using Widget.MT;

I then receive a compiler error on the using directive:

The type or namespace name ‘MT’ does not exist in the namespace ‘Widget’ (are you missing an assembly reference?)

I use this assembly in several other projects in the same solution without a problem.
I use another assembly (WidgetCore, which contains namespace Widget.Core) in the console application without difficulty.

A web application (Widget) uses both these assemblies without issue.

I have tried removeing and readding the namespaces, closing and reopening Visual studio 2010, cleaning the builds, directly including assemblies instead of projects, and nothng has worked.

Any ideas?

Your help will be greatly apperciated!

Best,

Brett

  • 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-20T10:36:48+00:00Added an answer on May 20, 2026 at 10:36 am

    Is the console application using the .NET 4 client profile by chance? If so you cannot reference an assembly that is not in the .NET Framework 4 Client Profile. Instead you must target the .NET Framework 4 – to do this go to your project properties and change the “Target Framework” to “.NET Framework 4”.

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

Sidebar

Related Questions

Hi folks I'm having the problem of invoking a property of an object(e.g. JButton)
Folks, I need a solution that allows drag-and-drop cell over the table. The cells
What do folks here see as the relative strengths and weaknesses of Git, Mercurial,
I'm trying to figure out a Java regex problem that I'm having. This is
I am having a problem with SSRS 2008 reports that have fixed column headers.
I am facing a conceptual problem that I am having a hard time overcoming.
Folks, I have an ASP.NET project which is pretty n-tier, by namespace, but I
Hey folks. Trying to get started with iPhone video capture stuff, and having a
Folks, we all know that IP blacklisting doesn't work - spammers can come in
Folks, I'm working on a little piece of rich client software that I'd like

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.