Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Sourcetree says .NET isn't installed but it is

Starting sourcetree in Windows 10 VS2017 pro.  Using the most recent insider version of windows.  When  I launch it,  window comes up that says it needs .NET v4.7.1.  When  click to install .NET now, the installer for .NET downloads and runs, but says .NET is already installed

3 answers

The fix is here:

Just add the missing registry key, Sourcetree works. Thanks for pointing me in the right direction.

I have the same issue. Sourcetree worked fine yesterday. Windows updates ran last night, and this morning I can't run Sourcetree.  It updated to Windows 10 v1809.

 Framework release 461814 is 4.7.2, but version in registry shows 4.7.03190.

sourcetree reg.PNG

minnsey Atlassian Team Sep 07, 2018

Can you try running %localappdata%\Sourcetree\app-2.6.10\sourcetree.exe?

Switch app-2.6.10 for whatever the relevant version is you have installed.

It looks like it is the installer/update technology Squirrel.Windows that is failing. I'm interested to know if the underlying app will still run. 

minnsey Atlassian Team Sep 07, 2018

FWIW I think 4.7.1, 4.7.2 etc are essentially named releases and really equate to some 4.7.0####  version under the cover.

Unfortunately, I get the same error when running it from that location.

minnsey Atlassian Team Sep 07, 2018

That is disappointing. This might be a significant problem.

I installed the latest insider build today and the problem still exists.  When the actual update comes out next month, this will be a show stopper.  For now, I'll just go back to the previous build.


We're investigating this at the moment.

Can any one provide a copy of the SquirrelSetup.log, I believe it should be in %localappdata%\Sourcetree for GA builds or %localappdata%\SourcetreeBeta for Beta builds.


Any updates on this?

0 votes
minnsey Atlassian Team Sep 06, 2018

Windows 10 doesn't always seem to recognize the .NET update until after a reboot.

Still have the problem.

minnsey Atlassian Team Sep 07, 2018

Looking here:

The installer checks the following registry key 

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full

And then checks the Release number is not less than the required value, in this case 
461308 for .NET 4.7.1

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

62,874 views 128 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you