Bitbucket With Visual Studio For Mac

Microsoft Visual Studio is a rich, integrated development environment for creating stunning applications for Windows, Android, and iOS, among others. Read More A platform-as-a-service (PaaS) that enables developers to create and deploy cloud apps. Extension for Visual Studio - Provides the integration with Atlassian Bitbucket - bitbucket.org. Developer Community for Visual Studio Product family. Visual Studio for Mac.NET. Azure DevOps. Can't use visual studio git with bitbucket.

Are you looking for tools that will help you build Xamarin projects?

Do you want to make your development easier as much as possible?

In this post, you’ll see some common development tools when creating Xamarin apps.

Design and Development

Balsamiq

Balsamiq is a rapid wireframing tool that helps you Work Faster & Smarter. It reproduces the experience of sketching on a whiteboard but using a computer

website: https://balsamiq.com/

Sketch (Mac only)

Sketch is useful for designing your multiple iOS screens and apply the specific iOS design guideline to your application.

Bitbucket With Visual Studio For Mac

https://www.sketchapp.com/

Adobe XD CC

Adobe XD is a user experience design software developed and published by Adobe Systems. It supports vector design and wireframing and creating simple interactive click-through prototypes.

website: https://www.adobe.com/sea/products/xd.html

Xamarin Inspector

Xamarin Inspector brings an interactive C# console with tools to users. The Inspector integrates with the app debugging workflow of your IDE, serving as a debugging or diagnostics aid when inspecting your running app.

website: https://dl.xamarin.com/interactive/XamarinInteractive.msi

Resharper (Windows Only)

Resharper is a must-have Visual Studio Extension for .NET developers. It eliminates errors and code smells, its IntelliSense is better than Visual Studio IntelliSense, used for code editing helpers, instant code reviewer, and more.

MFractor (Mac Only)

A must-have mobile-first productivity tool for Visual Studio Mac that uses XAML to C# code generation, code issue fixing and image importing wizard.

MVVM Frameworks

One of the best ways to architect an application is by separating the user interface from the underlying code, which is sometimes called the business logic. Several techniques exist, but the one that is tailored for XAML-based environments is known as Model-View-ViewModel or MVVM.

Here are some MVVM frameworks that you can use in your Xamarin Forms

  • Prism : https://github.com/PrismLibrary/Prism
  • MvvmCross : https://github.com/MvvmCross/MvvmCross
  • Mvvm Light : https://www.mvvmlight.net/
  • Exrin : https://github.com/exrin/Exrin
  • Fresh MVVM : https://github.com/rid00z/FreshMvvm

Dependency Injection Containers

A DI Container is a framework to create dependencies and inject them automatically when required. It automatically creates objects based on request and inject them when required. DI Container helps us to manage dependencies with in the application in a simple and easy way.

Here are some DI containers that you can use in your Xamarin Forms

  • Unity : https://github.com/unitycontainer/unity
  • Ninject : https://www.ninject.org/
  • Autofac : https://autofac.org/
  • DryIOC : https://bitbucket.org/dadhi/dryioc

Mirroring Apps

the ability to mirror the display screen of devices such as iPad, iPhone, Android Phone or tablet, Chromebook, PC, or Mac to computers wire-free

QuickTime Player for iPhones

website: https://support.apple.com/downloads/quicktime

Vysor for Android phones

website: https://www.vysor.io/

Version Control Tools

Version control tools are a great way to enable collaboration, maintain versions, and track changes across the team.

Here are some version control tools that you can use.

  • Team Foundation Version Control : https://www.visualstudio.com/team-services/tfvc/
  • Git : https://git-scm.com/
  • Mercurial : https://www.mercurial-scm.org/

Online Source Code Repositories

Web-based hosting services for source code and development projects are very useful if you are working remotely in an open source project of enterprise applications.

  • VSTS : https://www.visualstudio.com/team-services/
  • GitHub : https://github.com/
  • Bitbucket : https://bitbucket.org/product

Unit Testing Tools

Unit testing helps developers to test their code written whether it meets design & requirements and behaves as expected before delivering to QA testing. This will help to identify problems at early stages of the development even though it can’t be replaced with integration testing & performance testing.

Here are 3 known Unit Test frameworks that are used in .NET

Visual studio for mac download
  • MS Test : https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-mstest
  • NUnit : https://nunit.org/
  • xUnit : https://xunit.github.io/

App Center

Used to continuously build, test, release, and monitor apps for every platform.

website: https://appcenter.ms/

So there you have it. Start designing and building your first mobile app. Happy coding.


Activeyesterday

The visual studio stopped sending my commits to the bitbucket and this error appears

Error encountered while cloning the remote repository: Git failed with a fatal error. HttpRequestException encountered. There was an error submitting the request. can not spawn

C / Program Files (x86) / Microsoft Visual Studio / 2017 / Community / Common7 / IDE / CommonExtensions / Microsoft / TeamFoundation / Team Explorer / Git / mingw32 / libexec / git-core / git-askpass.exe: No such file or directory

could not read Password for 'https: //gustavobedsamarpes@bitbucket.org': terminal prompts disabled The error occurs when I try to clone my repository or commit

jessehouwing
74.2k15 gold badges176 silver badges256 bronze badges
Gustavo MoraesGustavo Moraes

8 Answers

I had the same issue, I found an answer that worked for me here:https://github.com/github/VisualStudio/issues/949

Below are the steps mentioned to fix:It seems that the bundled Git-Credential-Manager-for-Windows/ in VIsual Studio 2017 is not the latest release. Downloading the latest release and putting it on top of the files in Visual Studio 2017 worked for me.

  1. download the zip file gcmw-v1.17.0.zip from https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.17.0
  2. navigate to C:Program Files (x86)Microsoft Visual Studio2017EnterpriseCommon7IDECommonExtensionsMicrosoftTeamFoundationTeam ExplorerGitmingw32libexec (or wherever your 'missing' git-askpass.exe resides).
  3. make a copy of the git-core folder and rename it backup or something like that
  4. put the files from the zip file on top of the contents of your new git-core folder and overwrite where prompted
Mark DowellMark Dowell

I have added my password to remote URL. (Team Explorer > Repository Settings > Remotes) https://username:password@bitbucket.org/username/myproject.git.After that my problem has solved.

EcdEcd

FYI this issue was fixed for me by updating VS 2017 to version 15.9.4

With
E3430E3430

After chatting with Chad Boles (who maintains Team Explorer in Visual Studio), we worked out another option. This is preferred over overwriting the files in the Visual Studio installation as this may break future updates and can cause hard to debug issues in the future.

The trick is, until Visual Studio actually ships with Git credential Manager for Windows 1.18.4 or newer (it should after Visual Studio 2019 preview 4.0 or newer), to configure the specific installation location of the Git credential manager in your Git Global Config:

  1. Install the latest version of GCMW-1.xx.x.exe in your system and/or update to the latest version of Git for Windows which should include GCM.
  2. Update your global git config to point to a specific implementation of the Git credential Manager:

    Update the [credential] section to read:

    Ensure the path points to where the latest Git Credential Manager can be found on your system. Mind all of the escapes needed to make paths work in the global git config.

An alternative that doesn't require config changes

Another option is to install the latest version of Git for Windows (which already ships with the Git credential Manager for Windows 1.18.4) and perform the initial clone and authentication from the command line. This will store the credentials in the Windows Credential Store, after which Visual Studio will happily pick them up.

jessehouwingjessehouwing
74.2k15 gold badges176 silver badges256 bronze badges

I just experienced it this instant. so what i did is i tried to login to bitbucket, surpisingly it says 'I cant login to using username please use email'. then i did login using my email,then dig my bitbucket settings and found out that i can generate a password..

  1. Goto settings
  2. App password
  3. Create app password
  4. use the password to login instead of your real password
Joebet MutiaJoebet Mutia

In addition to Ecd's answer (can't comment yet), when your password contains '@' sign (or any symbols used in url), you need to escape that character as it will result to 'Could not resolve host' by url encoding. %40 for the case of '@' sign.

ricsiericsricsierics

I installed SourceTree and added there my OAuth tokens from both my accounts. This worked for me on the two different PCs.

Максим ЖуковМаксим Жуков

I just solved this same issue for myself in Visual Studio 2019.

Visual Studio Setup Git

In Tools -> Nuget Package Manager -> Package Manager Console

Visual Studio For Mac Download

This command will update the GitForWindows version (as well as the Git Credentials manager) for you.

Install-Package GitForWindows -Version 2.23.0

Microsoft Visual Studio For Mac

Reference: https://www.nuget.org/packages/GitForWindows/

S-eagleS-eagle

X Code

Not the answer you're looking for? Browse other questions tagged gitvisual-studio-2017git-clonegit-credential-manager or ask your own question.