It's all about the answers!

Ask a question

List of files to ignore when move visual studio solutions/projects from TFS to RTC?


Frank Ning (50025119133) | asked Oct 17 '12, 5:09 p.m.

Hello,

Is there any list of files we can/should ignore when we move visual studio solutions/projects from TFS to RTC?

Thanks and Regards

2 answers



permanent link
Krishna Kishore (50112) | answered Oct 18 '12, 3:11 a.m.
JAZZ DEVELOPER
Hi,

Since VS adds the SCC bindings to the project and solution files first you need to remove the existing bindings and then open the solution/projects in VS and share them with Jazz Source Control. If you share the projects/solution form the Solution Explorer the share operation will automatically add the new SCC bindings to the files and also add the required ignore rules to ignore files like *.obj, *.suo and folders like bin/obj etc.

Note: If the files/folders are shared from Sandbox explorer then the SCC bindings are not added, this makes VS think that the projects are not under source control. To circumvent this try adding the projects/solution to Jazz Source control from Solution explorer again, this time RTC will just add the bindings to the solution/project files and create ignore rules because the files are already shared in Jazz.

For more information refer to the section "Migrating from another Source Control provider" in the article https://jazz.net/library/article/117.

Comments
Frank Ning commented Oct 18 '12, 4:33 a.m.

Hi Krishna,

Thanks for the useful information. How about just folders and files which do not belong to a project? I guess we still had better use solution explorer to share them?


permanent link
Krishna Kishore (50112) | answered Oct 18 '12, 5:53 a.m.
JAZZ DEVELOPER
Hi,

If you want to share only folders and files(which are not part of the solution/projects) then its better to use Sandbox Explorer. The Sandbox Explorer view is created for users who want to use RTC VS but do not work with VS projects.


Comments
Frank Ning commented Oct 18 '12, 8:10 a.m. | edited Oct 18 '12, 8:39 a.m.

Hi Krishna,

Thanks. What about the following structure in VS (actually under a branch in TFS shown within VS), any recommendation about the way to add them to the Jazz source control? (Assuming I already updated all .csproj/.proj and .sln files for source provider)

TopDir (not a solution folder)

TopDir\subdir1 (a solution folder)

TopDir\subdir1\subdir2 ( a project folder)

TopDir\subdir1\subdir3 ( another project folder)

Another case is :

TopDir (not a solution folder)

TopDir\subdir4 (a project folder)

TopDir\subdir5 (a project folder)


Priyadarshini Gorur commented Oct 30 '12, 5:17 a.m.
JAZZ DEVELOPER

Hi Frank,

Assuming TopDir is your sandbox, subdir1, subdir4, and subdir5 become your share roots. You can share each of these folders against a component in your repository workspace. https://jazz.net/library/article/674 talks more about this.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.