SourceTree Start Error due to .Net Framework
Asked by slandeau:

Hi,

SourceTree **crash** at startup due to .Net Framework error.In addition I can't uninstall the product...

So I've tried to install version 4.7.1 ou 4.7.2 but there is a windows error, for .net Framework not supported on this machine !

Can someone help me ?

Best regards,

![SourceTree1.png](/t5/image/serverpage/image-id/23307iD31DB2F791DF4001/image-size/large?v=v2&px=999 "SourceTree1.png")![SourceTree2.png](/t5/image/serverpage/image-id/23306i084A7133814111EF/image-size/large?v=v2&px=999 "SourceTree2.png")


Answers:
author: Rafael Rivera
body: As a workaround, create an empty key named ".NETFramework,Version=v4.7.1" (without quotes) at HKLM\\SOFTWARE\\Microsoft\\.NETFramework\\v4.0.30319\\SKUs.

comments: author: Juan Campos
body: thanks!


author: Vijae Manlapaz
body: Thanks [@Rafael Rivera](/t5/user/viewprofilepage/user-id/1948268) your solution worked..


author: Usman Saleh
body: [@slandeau](/t5/user/viewprofilepage/user-id/1448893) I got same thing but my problem solved, just use the older version ([**2.4.8.0**](https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.4.8.0.exe)) of source tree. you can get it from  
[https://www.sourcetreeapp.com/download-archives](https://www.sourcetreeapp.com/download-archives?)


author: nikitaka
body: It worked!


author: darsheel88
body: Thanks [@Usman Saleh](/t5/user/viewprofilepage/user-id/1608889)

It Worked!!


author: Atul Joshi
body: It really works


author: Rudy Setiawan
body: I have the same issue here. It was running few days ago on earlier version and then I tried to update to 2.6.9 it said that it requires .net 4.7.x but i have the latest .net already installed on my Windows 10 Pro.

Any solutions?

comments: author: pillowmetal
body: Did you ever resolve this? I have the same problem... 4.7.2 is installed on my machine, but SourceTree continues to complain that it needs 4.7.1 - however, I can't install that version because Windows says I already have a later version


author: DmErm
body: Same problem. Installed release of framework 4.7.2 is 461814


author: Juan Campos
body: Same problem here, can't run or update sourcetree.... any solution?


author: Treye Chaney
body: I can't even use the uninstaller or installer for Sourcetree when I was troubleshooting since it checks specifically checks for 4.7.1 I'm sure there's a workaround but when you can't even uninstall because of an issue there's a problem here \>.\>


author: Jabed Hossain
body: From start menu open, "Visual Studio Installer". This will prompt a screen to modify your existing visual studio product. Select "Modify". This will open a Modifying VS2017 screen and from the installation details on the right you can check which .Net frameworks are available under ".Net desktop development" drop down menu. Select preferred .Net framework and click Modify at the bottom right corner with "Install while downloading" option selected.   

This will solve the problem!!  


author: duncan chiriga
body: download source tree 2.4.8

<https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.4.8.0.exe?_ga=2.72017687.506974536.1568619561-1269012372.1568619561>


author: Om
body: After installing windows update it has been fixed for me!


author: Shagun Jain
body: Why is it required to install .NET framework to work with sourcetree?

comments: author: Mike Corsaro
body: Sourcetree is built on the .Net Framework, so that's why it's required. Newer versions of Windows come with the required version installed.


author: Shagun Jain
body: Got it!. Thanks


author: Mike Corsaro
body: Hello! .Net Framework 4.7.2 supports the following OS versions:

* Win 7 SP1
* Windows 8.1
* All updates of Windows 10 after the Anniversary update (2016)

You'll need to upgrade to one of these to continue using Sourcetree. Do you know which version of Windows you're on?

comments: author: slandeau
body: OF course, Windows 10 Pro


author: Juan Campos
body: I have everything updated and still won't start. Any solution please?