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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:59:58+00:00 2026-05-17T16:59:58+00:00

I assumed when I have, say Project A and Project B, and Project B

  • 0

I assumed when I have, say Project A and Project B, and Project B depends on Project A, I would be able to use in Project B the classes defined in Project A. So if I have

namespace HiFolks
{
    public class SomeClass{}
}

in Project A, then I can use HiFlolks.SomeClass in Project B just as if it were defined in Project B. It worked like this before but now I just added a project called Storm to my solution and set it my project, say Project X, to depend on Storm, but I get this error: “The type or namespace name ‘Storm’ could not be found (are you missing a using directive or an assembly reference?)”. This happens even after building and rebuilding the solution successfully.

I might be missing something related to how projects work, I really never knew it other than by experience. Haven’t found any documentation about it since whenever I search for anything in the VS help page I get a bunch of blogs and random people opinions as results instead of an official documentation. Please, any help will help.

  • 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-17T16:59:58+00:00Added an answer on May 17, 2026 at 4:59 pm

    How did you “set Project X to depend on Storm”? I wonder whether you’ve gone into the build settings for the solution to make sure that Storm builds before Project X, but without a reference between them.

    Basically you need to add a reference from Project X to Storm, e.g. by right-clicking on “References” in Project X in Solution Explorer, and then choosing “Add Reference”. Select the Projects tab, and select Storm. If you can tell us which version of Visual Studio you’re using, we will be able to provide more detailed help and perhaps screenshots.

    Note that adding a reference doesn’t mean you can use all types or members as if they were defined in the same project – if there are internal members within the referenced assembly, you won’t see those from the project which has the reference1.

    Of course, the other alternative is that you’re simply trying to use a class without the appropriate using directive to import the relevant namespace. If you could provide a sample solution demonstrating the problem as a zip file, we could tell exactly what’s wrong fairly easily, I suspect.


    1 Yes, there’s [InternalsVisibleTo] but let’s keep things simple for now.

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

Sidebar

Related Questions

Let's say you have a project running on apache. I use capistrano to deploy
Lets say I have business class: public class Foo { public int Prop1 {get;set;}
Assume I have a class foo, and wish to use a std::map to store
Let's say we have a solution with the following structure: Project.DAL - Data access
Let's say I have a project where I've already run CMake in .build directory:
Let's say I have four projects: Project A (has a dependency on B and
How do I have a script run every, say 30 minutes? I assume there
Connection.close() may throw SqlException , but I have always assumed that it is safe
I have a colleague who is looking into opcode caching/Zend Acceleration (I've always assumed
Assume I have a function template like this: template<class T> inline void doStuff(T* arr)

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.