简体   繁体   中英

How to change TFS referencing URL in C# project?

I have developed a project locally then did place it on let's say abc.visualstudio.com then copied the same code in a different folder and trying to sync it with xyz.visualstudio.com however, TFS keeps saying I don't have permission (which I have acess to both of them) but during connection still points to abc.visualstudio.com

Where can I change its pointing entry so that it can point to a new ULR which is xyz.visualstudio.com instead? in fact I need to know that how can i change TFS referencing URL in C# project?

Thanks.

EDIT: This is what I'm getting when I try to change the workspace. Now, one thing crossed my mind so might give you some idea ....I did this first time from a domain which is behind a proxy and now trying to do it from home. Can be result of that?

在此处输入图片说明

You have to create a new workspace. You can do this within Visual Studio from a couple places, I usually bring up the Source Control Explorer window, open the Workspace drop-down, then choose the Workspaces... item which brings up the workspace configuration dialog. From there you can point your existing workspace to the different local folder, or you can create a new workspace if desired.

OK, finally found a workaround for this problem and seems it is bug and we have to wait till it gets resolved. In order to make this work you have to remove all ("all") history of your IE this means passwords, data forms, cookies and ...

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