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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:52:31+00:00 2026-05-20T19:52:31+00:00

I can not work this out. I have a class library called ‘ABC.Service’. In

  • 0

I can not work this out. I have a class library called ‘ABC.Service’. In this class library I have referenced other projects from my solution.

In my ‘ABC.Service’ I have consistently named my classes namespace ‘ABC.Service’.

I have made a project reference to this ‘ABC.Service’ and another class library called ‘ABC.Entities’ from a OutlookAddin project in the same solution.

For some reason the outlook addin project does not compile and outputs that 'The type or name 'Service' does not exist in the namespace 'ABC' (are you missing an assembly reference?) . However it does not complain about the ‘ABC.Entities’ classes???

The ‘ABC.Service’ compiles just fine and can be referenced successfully from a Windows project in the same solution which compiles just fine.

In the outlook addin intellisense can detect the namespace and class just fine also

I am obviously not missing the reference so the error message is so misleading.

I have tried;

  • Cleaning project/solution
  • Shutting down VS2010
  • Restarting Computer

I can only see 2 possible problems (which I can not understand why they would be problems)

  • In the ‘ABC.Service’ I have a
    reference to
    ‘Micorosoft.Office.Interop.Word’
    assembly.Could this be doing
    something?
  • I have some generated code with a
    namespace called ‘ABC.BusinessLogic’
    instead of ‘ABC.Service’ – removing
    this generated code to see if this is
    the problem would be a nightmare as
    much more would need to be changed to
    get it to compile and I really don’t
    understand why it would be a problem

Has anyone got any ideas??

Any help appreciated

  • 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-20T19:52:31+00:00Added an answer on May 20, 2026 at 7:52 pm

    I’ve heard of this sort of thing happening when a project’s build mode gets changed to “Client Profile.” You might want to check on that.

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

Sidebar

Related Questions

I cannot work this out to save my life! So, I have a Codeigniter
can anyone tell me why this does not work Excel.Worksheet ws_res = (Excel.Worksheet) wb.Worksheets.Add(mis,
How can I do this? (The following code does NOT work, but I hope
I'm newbie in Python. I can't understand why this code does not work: reOptions
im new at javascript and i can get this slider to work but not
Am I not seeing something obvious here, can't seem to get this to work...
This is not exactly a straight-out question because I have just solved it, but
I have seen other thread with similar issue but was not able to work
I can't work out how to do a find on a List I have
I have to work with this library that deals with a standard for biodiversity.

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.