Where does Visual Studio remember which folders are "namespace providers"?

Well, it can be very simple, but it's Friday, and it has been a long week. It seems I can’t find the answer for a lifetime.

Basically, I have a project in which the Provider Namespace property is set. When a colleague receives updated code from the repository, these properties do not seem to be displayed at all? (i.e. there is no entry "Namespace Provider" in the properties window).

What could be the reason for this? I think he might need an update for VS2008 or something else? I've never had a problem with this / like this before!

Ideas? :)

Thank you so much!

Update

Now we checked that the machine has VS2008 SP1 - there are still no dice :(

.. and we completely deleted all the files in the folder and made another "GET" from the repo (crappy VSS). I have a great feeling that there are some residual “website” project files that have not been removed from the repo and cause VS to misinterpret the type of project.

Lets you know as soon as I can prove :)

+6
namespaces visual-studio-2008
source share
3 answers

I always thought that the Namespace provider is a ReSharper property.

+7
source share

What version of visual studio are you using, and which is it?

Many of these types of problems occur when one developer uses Team Suite and another uses the standard version.

Ninja

0
source share

Unfortunately, it looks like the namespace provider option is stored in a .suo file for the solution. Try opening SUO on something like Notepad ++, which has file monitoring and see for yourself.

Change it, save the file, the file watcher notifies you of the update. Perhaps this is due to the fact that the namespace provider parameter does nothing for the compiled code, it's just the information that VS uses when creating new class files (theory).

0
source share

All Articles