carla_rogers
Member
- Joined
- Jun 17, 2022
- Messages
- 5
- Programming Experience
- 10+
SANITY CHECK
Please accept my apology for a long post. Even though this post is long, to provide context, the question I have is an easy, I think.
BACKGROUND
For the last 10 years, I worked with native linux servers, php, apache and other non-microsoft technology. Getting back into the MS world now. Running Visual Studio for Mac, working with C#. Working an exercise to make sure I have a handle on how the different parts of a C# App connect to one another.
SITUATION CREATING A PROBLEM IN MY BRAIN
The problem I am needing some help to be sane with is I have one project that is missing a namespace, because I deleted it as part of a test. That much is ok.
THE PROBLEM
Visual Studio is acting like the namespace is there and also as if it is not there.
PROJECT ATTACHED TO TWO DIFFERENT SOLUTIONS IN DIFFERENT INSTANCES OF VISUAL STUDIO
In one of the solutions, the project is broken as expected.
In the other solution, the project acts as if thee is a namespace that is not there. There never was anything in the namespace, but it has to exist for the project to run.
REMINDS ME OF A BROWSER NOT CLEARING CACHE WHEN TESTING CHANGES TO A WEB PAGE
It seems similar to the problem that happens in web app testing when the browser holds onto cache and makes it look like changes just made to the website are not having an effect.
ERROR MESSAGE COMING AS EXPECTED IN ONE SOLUTION, NOT THE OTHER
The type or namespace name 'TestNew' could not be found (are you missing a using directive or an assembly reference?)
BOTTOM LINE
Can you fill me in on how this happens? Is there some cache somewhere I can delete to fix this problem?
Thank you.
Please accept my apology for a long post. Even though this post is long, to provide context, the question I have is an easy, I think.
BACKGROUND
For the last 10 years, I worked with native linux servers, php, apache and other non-microsoft technology. Getting back into the MS world now. Running Visual Studio for Mac, working with C#. Working an exercise to make sure I have a handle on how the different parts of a C# App connect to one another.
SITUATION CREATING A PROBLEM IN MY BRAIN
The problem I am needing some help to be sane with is I have one project that is missing a namespace, because I deleted it as part of a test. That much is ok.
THE PROBLEM
Visual Studio is acting like the namespace is there and also as if it is not there.
PROJECT ATTACHED TO TWO DIFFERENT SOLUTIONS IN DIFFERENT INSTANCES OF VISUAL STUDIO
In one of the solutions, the project is broken as expected.
In the other solution, the project acts as if thee is a namespace that is not there. There never was anything in the namespace, but it has to exist for the project to run.
REMINDS ME OF A BROWSER NOT CLEARING CACHE WHEN TESTING CHANGES TO A WEB PAGE
It seems similar to the problem that happens in web app testing when the browser holds onto cache and makes it look like changes just made to the website are not having an effect.
ERROR MESSAGE COMING AS EXPECTED IN ONE SOLUTION, NOT THE OTHER
The type or namespace name 'TestNew' could not be found (are you missing a using directive or an assembly reference?)
BOTTOM LINE
Can you fill me in on how this happens? Is there some cache somewhere I can delete to fix this problem?
Thank you.