Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I handle this error?

NOTE: I have had SourceTree running in the past, and I have no idea why this error is being thrown;

Application installed (and operating previously); Atlassian Sourcetree 2.6.10.

Error being thrown when the application is launched;

{

This application requires one of the following versions of the .NET Framework:

.NETFramework,Version=4.7.1

Do you want to install this .NET Framework version now?
}

When yes is clicked to; Download the .NET Framework 4.7.2 from the provided web page,
the application ( NDP472-KB4054531-Web.exe ) returns the following;

{

Details

.NET Framework 4.7.2 or a later update is already installed on this computer.

}

1 answer

This issue was caused, in my case, by Windows 10 update fly-by-night installations resulting in an update to .NET;

This issue was resolved by changing the .NET Framework version explicitly identified in the C:\Users\XXXX\AppData\Local\SourceTree\app-2.6.10\SourceTree.exe.config file;

Modify Line 17: <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1"/>

with v4.7.2 as below;

<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>

Moving forward, it may be valuable to add a function, which validates the version being used, and automatically updates itself according to the installed version of .NETFramework; adding 1 to the posterior version and validating again (with a limit of some kind added so that the application doesn't spin into a perpetual loop);
https://docs.microsoft.com/en-us/dotnet/core/versions/

Likewise a quick logical step could be to check what version is installed (4.7.2), and if greater than expected version (4.7.1), to modify the configuration file; SourceTree.exe.config to the installed version.

This assumes that .NET AND SourceTree are both programmed to be version agnostic internally.

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,274 views 4 5
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