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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:48:55+00:00 2026-06-17T17:48:55+00:00

Visual Studio 2012. I have two projects A and B. A is the console

  • 0

Visual Studio 2012.

I have two projects A and B. A is the console application. The default namespace of A is “PayT’. B is class library type, the sAssembly name’ is ‘RetentionPolicyManager’, the default namespace of B is ‘RetentionPolicyManager’.

Now in project A, I added reference of B that is RetentionPolicyManager.dll to it.

In one class of A, there is one line:

using PayT.RetentionPolicyManager;

However I always got the error when I rebuild the solution:

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

If I don’t build the solution, it seems to be okay and no error.

  • 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-06-17T17:48:56+00:00Added an answer on June 17, 2026 at 5:48 pm

    I faced same issue some months ago. The problem was both projects didn’t target the same platform, i.e. the console application targeted .Net framework 4.0 Client Profile while the library targeted full .Net framework 4.0.

    Fixed by targeting full .Net 4.0 framework for both projects.

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

Sidebar

Related Questions

I have a .NET 4.0 solution in Visual Studio 2012 with two projects and
I am building an application in C# visual studio 2012 RC. I have to
I am new to Visual Studio 2012 and Javscript coding. I have two questions
I have two entity framework solutions in Visual Studio 2012. I used Nuget to
So I`m using Visual Studio 2012 and have application, which creates notifyIcon and show
I have installed Visual Studio 2012 RC. I would like to find any example
Started using Visual Studio 2012 RC since yesterday, We have one WCF solution. Whenever
I have set up Visual Studio 2012 Professional to download debug symbols. It is set up
I have the most annoying problem with Visual Studio 2012 and WPF I was
How can I add a configuration file to Visual Studio 2012 Web Express library

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.