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 6984845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:36:08+00:00 2026-05-27T18:36:08+00:00

I have a VS2010 solution with a hello world WPF Application and a Class

  • 0

I have a VS2010 solution with a “hello world” WPF Application and a Class Library project. In my class library, I have defined a class in a namespace called ReportImageMerge.Core. I have that project referenced by my WPF app project, but when I run the build, I get several errors. The parent error of the rest which are references to objects within my custom namespace is this:

Error   3   The type or namespace name 'Core' does not exist
in the namespace 'ReportImageMerge' (are you missing an assembly reference?)

Strangely, if I remove the project reference and add it back, my errors disappear along with all red squigglies. Only when I rebuild do I see the errors anew. The namespace and class are defined as below:

namespace ReportImageMerge.Core.Business
{
    public class ReportHelper
    {
        ...
    }
}

The class and name are referenced as below:

using ReportImageMerge.Core.Business;

namespace ReportImageMerge.Reporter
{
    public partial class MainWindow : Window
    {
        public ReportHelper ReportHelper { get; set; }
        ...
    }
}

The only information I have found related to my issue seem to be centered around target framework. The WPF Application is set to “.NET Framework 4 Client Profile” by default, and the class library is set to “.NET Framework 4”. Most advice for people with Silverlight projects referencing class libraries was to use a Silverlight-specific class library. There doesn’t appear to be the same for WPF app projects.

I have seen advice given to change the target framework of the referencing project to the same as the referenced app, but I get an unspecified runtime error if I do that.

How can I get my class library namespace to be recognized after building my solution?

  • 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-27T18:36:09+00:00Added an answer on May 27, 2026 at 6:36 pm

    You cannot reference the full framework from the client framework.

    Change either of the projects so that they both target the same framework.

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

Sidebar

Related Questions

I have a web application solution VS2010 where I output to ..\..\Project.Namespace.Bin\ When I
I have a VS2010 solution with 5 projects. Two of these projects are called:
I have a VS2010 (RTM) solution which contains: WCF Service project Console WCF client
I have a database project in my VS2010 solution. I recently changed a view
I have a database project in my vs2010 solution. The working database is installed
I have a solution in VS2010 with 3 projects: WCFServiceLib - a project created
we have a Asp.Net MVC 2.0 application. In Vs2010 solution Explorer there is only
I have a VS2010 Setup project for a C# Winforms solution. Deployment of updates
I have a VS2010 solution that has two projects. The first project [DevLib] is
I have a web application project being developed in VS2010 targetting Framework 4.0. I

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.