visual studio - How do you manage .vcproj files in source control which are changed by multiple developers? -
we use subversion our source control system , store visualstudio project files (vcproj) in source control system normal think. subversion don't use form of file locking, if 2 developers working on same project @ same time , both add files project, or change settings, second 1 commit has merge changes.
how merge these changes?
the vcproj files text files possible edit them hand not amenable hand editing, junior developers.
the ways can think of are
- get latest version svn , re-add local changes manually
- edit file hand resolve conflicts automatic merge
- implement form of locking scheme prevent simultaneous changes
- have agreement between developers not make simultaneous changes
currently using first option of re-adding changes manually time consuming , wondering if there better way.
with source files automatic merge feature works of time , don't many conflicts.
i've found option 2 (edit files hand) works well, long you're using diff tool (i use winmerge). main problem i've run visual studio reorder file. but, if have diff/merge tool should able differentiate between changed content , moved content. can lot.
Comments
Post a Comment