Solved

Getting source TFS issue

Posted on 2014-04-18
2
2,508 Views
Last Modified: 2014-07-02
I'm using VS2012. I get latest version from tfs, and I got the following warnings -

Warning C:\MEBPREP\Dev\Source\MEBPREP.Web\Bin\MEBPREP.DataModel.dll - Unable to perform the delete operation because the file already exists locally
Warning C:\MEBPREP\Dev\Source\MEBPREP.Web\Bin\MEBPREP.Logics.dll - Unable to perform the get operation because the file already exists locally

How can I resolve it?
0
Comment
Question by:minglelinch
2 Comments
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 500 total points
ID: 40035931
Is that the exact error message, or is there an associated error code? I've not seen that error before and I'm getting only a couple of results in google, so I suspect the wording isn't exact.

That said, are you fetching latest into a folder that already has source code and supporting files in it? For the files it's complaining about, do they already exist or are they in use? An error like this can occur if the file is already in the local folder and marked as writable - if the version in source control hasn't changed, you may want to consider deleting the local copy so it can fetch a copy from TFS properly.

Alternatively, you can "Get Specific Version..." instead of "Get Latest", and then check the boxes that say "Overwrite writeable files..." and "Overwrite all files..." which will force TFS to fetch a new copy over the top of what's already on disk.
0
 
LVL 1

Author Closing Comment

by:minglelinch
ID: 40172299
Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question