Error VS403459 when access to source control explorer in visual studio 2017

Francisco Fuentes 0 Reputation points
2023-02-03T14:53:24.49+00:00

I created a new solution in Visual Studio 2017 adding it to a TFS.

Before I commited the changes, I renamed the main project directly in visual studio.

After that I could no longer enter in Control Explorer giving me the following error:

VS403459: The change type Edit, Branch, TargetRename is not permitted on uncommitted item $projectName. Please undo the change to this item to fix your local workspace cahe.

I have tried several solutions that I have found on the internet but none have worked.

Any kind of help is appreciated.

Developer technologies Visual Studio Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Francisco Fuentes 0 Reputation points
    2023-02-06T09:33:12.0133333+00:00

    I found the solution on my own.

    In team explorer, select "pending changes"

    In "$" folder, sould appear the route shown in the error item.

    Press right button and select "Undo". The problem is gone.


  2. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-02-06T09:36:02.8466667+00:00

    Hi @Francisco Fuentes, 

    Welcome to Microsoft Q&A! 

    If you undo the change, does it work? 

    Please close all running Visual Studio instances and delete TFS cache in the path: %localappdata%\Microsoft\Team Foundation\xxx\Cache

    Then, restart your VS and check if it works. 

    If it persists, please directly post it in dedicated TFS forum

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.