I am setting up Xamarin with Team Foundation Service + git to develop iOS apps. I have tried many different settings trying to set up my TFS + git integration on our MAC with no avail. I keep getting exceptions of either not authorized
or failed to fetch
.
相关问题
- Docker task in Azure devops won't accept "$(pw
- Authentication Failure using Git-LFS Azure DevOps
- Getting error: File extension specified '.webt
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
相关文章
- 请教Git如何克隆本地库?
- Build errors of missing packages in Visual Studio
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is it possible to do a “destroy history” in TFS?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
I had problems connecting to my visualstudio.com repository even when following these instructions. What I did was to use XCode to checkout (or clone) the repository. I then opened my solution in Xamarin and it picked up the repository info just fine.
I am going to list all steps I took to be as complete as possible.
New Team Project + Git
@
symbol in your login info. To set up alternate creds in Visual Studio Team Services (VSTS), click on your name on the top right -> My Profile -> CredentialsVersion Control
menu item selectPublish
(Only available with solution file open)Registered Repositiories
tab and selectAdd
https
protocol.xxx.visualstudio.com
.443
./DefaultCollection/_git/
+ project name (exactly as you typed it including spaces)OK
on both open windows.OK
.Your TFS + git integration with Xamarin Studio should be complete! If you have any other issues I will try my best to help with them.
I use git-tf, which is a command line tool. But once you clone the repository you are able to use all the functionality like blame, revert, commit. It works with the new OSX version of Visual Studio as well.
This is the best solution I found to connect Xamarin/Visual Studio Mac to TFS:
Xamarin DevOps with VSTS - Getting Started
In step 12. on Windows 8 and you entered the wrong password you will have to fix it in Credential Manager.
In windows 8
In Control Panel, Open Credential Manager, On the top of the page you have two options, select "Windows Credentials". Under "Generic Credentials" look for a record for "your.visualstudio.com" click to expand and select remove. Now if you publish from Xamarin Studio you will be prompted for your password again.