Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
675 views
in Technique[技术] by (71.8m points)

tfs - 'Fool' Team Foundation Server into adding files under previous source control

I have my program code under TFS 2010 Source Control. TFS is running on a Windows 7 (32 bit) machine. The database server for the TFS is SQL 2008 (NOT SQL Server Express). I'm the only person using TFS.

I'm trying to set up TFS on my new Windows 2010 Professional machine. I don't want to spend the almost $1000 it would cost me to use TFS 2018 backed with the cheapest version of SQL Server that would be compatible.

So, I have installed TFS 2015 Express, which created a SQL Server Express database. I tried 'replacing' the SQL Express databases created by the installation with my SQL Server 2008 databases. Did not work.

I'm trying to 'upload' my files from my projects using the Add Items to Folder button. I was able, by renaming the vssscc and vspscc files in the project directories and was able to upload the folders under the root directory for the project. But, I cannot add the vast majority of the files at the root of the project.

So, I'm stumped. I know in Source Safe, there was a simple way to 'fool' Source Safe into letting you use the Add Files to re-add files that were under source control. If there's a way to do this with TFS, I would be fine using that, I don't have that many projects to upload. Or, if there is another way I can get my code files back under TFS Source Control, I would like to know how to do that.

question from:https://stackoverflow.com/questions/65944054/fool-team-foundation-server-into-adding-files-under-previous-source-control

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I recommend that you should reference to the following Microsoft Docs to migrate the data from your TFS 2010 to TFS 2015:

Normally, you need to upgrade your TFS 2010 to TFS 2013 latest version at first, then upgrade from TFS 2013 to RFS 2015.

In addition, what do you mean "Windows 2010 Professional machine"? I do not find any released Windows server OS is named this. And also do find any TFS version supports this OS. Can you share more details about the OS?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...