Visual Studio Project files

Larry Brister
Larry Brister used Ask the Experts™
on
I have a web site solution with 3 Classes Projects as well as the Web project

We are using Tortoise SVN to keep our files in sync with each other.

Question is...
On my machine if I
Add new vb file to my CFUtils class
Build my dll
Add file to SVN
Sync everything up to SVN including the class project file

When others sync down from svn

Should they still need to "Add Existing Item" to the project and add in the files?

Should the project file store that information?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Shouldn't have to add the new file again.
The project file is just XML, by adding a new file to the project it will modify this XML (diff it to see what's changed). When committing to SVN along with the .vbproj changes anyone loading the project will have the new items in the project files as expected. If they update from SVN and the project is already open, Visual Studio will prompt them to reload the project which will include the new file.
Larry Bristersr. Developer

Author

Commented:
Hey guys...both answers are the same right?
rick_gwu is correct, other developers updating from SVN will not need to add the file again because the project file changes were committed, I just added more information to explain why this will actually be the case.
Larry Bristersr. Developer

Author

Commented:
Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial