简体   繁体   中英

Cannot add files to Visual studio 2015 (Community) Update 3 / TFS

I added some C# files that are part of a database project, then delete the EDMX (Entity Framework File) to start again after a mess up, visual studio TFS got excited and marked the files for delete) TFS is NOT my most favourite piece of software. SO OK I think - let it delete them and I will re-add said files and check in later. Ha ha - On "Add Existing files" (select the files) / OK --- Visual studio simply silently does not add them - it does not complain, just nothing.

NB: I did do a TFS scorch to clean the workspace after the check in having saved a copy of the directory for these kind of gotchas. So that I can emulate a clean get on my machine to correct any forgotten checkins

Maybe I should add them directly into the csproj file using notepad++

You could try to install TFS Powertools , this tool provides additional Visual Studio menu options and functions:

First, map the project to a clean workspace.

Then, copy the files you want to add to TFS to the workspace, under the correct folder.

Last, right click these file and select Team Foundation Server -- Add , you'll see these files show up in Source Control Explorer, and check them into TFS.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM