Ошибка this application requires one of the following versions of the net framework

Описание проблемы

Всё работало до момента когда я изменил версию .NET Framework на 4.7.2. После этого появилась такая ошибка при запуске:

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

.NET Framework, version=4.7.2

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

Ошибка

Я подумал — фиг с ним, установил. Но нет, ничего не изменилось, всё ещё требуется установка. «Восстановил» в установщике, перезагрузил компьютер — ничего не помогло. Ошибка всё ещё тут. Нужная версия .NET Framework в списке программ есть.

Список установленных программ - всё что нужно вроде установленно

задан 3 авг 2019 в 9:19

Ilya Slesar's user avatar

2

Я бы не называл это решением проблемы. Я бы не называл бы даже это правильным выбором, потому что это именно уклонение от решения проблемы.

Тем не менее мои проблемы решила смена на более новую версию .NET Framework, а конкретно на уже установленную 4.8. Если кому-то интересно, как я «додумался» до этого, то меня на это натолкнуло вот это из оф. документации Microsoft (статья: https://docs.microsoft.com/en-us/dotnet/framework/install/troubleshoot-blocked-installations-and-uninstallations)

Because the 4.x versions of the .NET Framework are in-place updates, you cannot install an earlier version of the .NET Framework 4.x on a system that already has a later version installed.

ответ дан 3 авг 2019 в 19:07

Ilya Slesar's user avatar

  • Remove From My Forums
  • Question

  • So yesterday my computer started to act up. It was behaving normally before this and I’m not quite sure what happened. Many programs as well as background processes bring up error messages on launch saying:

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

    .NETFramework,Version=v4.0

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

    I click yes and it opens up a browser page that automatically downloads the .NET Framework version. However, when I try to install it says:

    Your installation will not occur. See below for reasons why.

    Details

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

    If it’s already installed, why are multiple programs and processes not functional? I’ve looked everywhere on google but can’t seem to find a working solution to my problem. I’ve tried finding and deleting the different .NET Framework versions, but
    this error message still pops up. (I feel like doing this caused many more problems than I originally had.)

    Please help?

Answers

  • You can check to see if your .NET Framework 4.0 is OK with this tool:

    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    Run the tool with .NET 4.0 selected, then check the last few lines of the tool log for the test app return code. If the return code is 0, your .NET 4.0 is correctly installed and configured.

    If the return code is not 0, the framework is corrupt and will have to be repaired. Repair procedures vary depending on your Windows version, so please share the version with us.

    • Proposed as answer by

      Monday, December 28, 2015 2:01 AM

    • Marked as answer by
      宝宝徐
      Monday, January 4, 2016 6:47 AM

    • Proposed as answer by
      宝宝徐
      Tuesday, December 29, 2015 8:48 AM
    • Marked as answer by
      宝宝徐
      Monday, January 4, 2016 6:47 AM

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.

}

While trying to run an application we were getting the below message

It was taking us to Microsoft Download site for downloading the framework.

We downloaded the 4.7.1 Framework but while trying to install it we got the below message that said the framework or a later update is already installed on this computer.

Tried uninstalling all the .NET Framework version installed including 4.7.

That also didn’t work.

Few of the forums talk about making changes in the registry, that also didn’t help.

Eventually we commented the supportedRuntime element in the configuration file of the application to get through this issue.

https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/startup/supportedruntime-element

https://stackoverflow.com/questions/21566528/what-happens-if-i-remove-the-auto-added-supportedruntime-element

Hope it helps..

Storage Explorer Version: Unknown, but downloaded yesterday
Build Number: Unknown, can not access
Platform/OS: Windows Server 2016
Architecture: x64
Regression From: Unknown

Bug Description

On a fresh install of Windows Server 2016, there is no .NET Framework installed (or perhaps just too low of version). When running Azure Storage Explorer, 100s of modal popup windows are displayed from ServiceHub.

image

Text is:

This application requires one of the following versions of the .NET Framework:
.NETFramework,Version=v4.7.2

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

image

In addition, Storage Explorer displays one more popup asking for a different version number.
image

Recommend:
Pre-checking the .NET version then not calling the ServiceHub dependency if the version is too low. Also align your .NET Framework version with ServiceHub (or require newer).

Steps to Reproduce

Perhaps uninstalling .NET Framework or using a version below of the wanted v4.7.2.

Expected Experience

Exactly one error should be displayed.

Actual Experience

100s of errors are displayed.

Additional Context

  • Ошибка timeout was reached во время загрузки
  • Ошибка this application has unexpectedly quit
  • Ошибка time for regular service
  • Ошибка this application failed to start because no qt platform plugin could be initialized
  • Ошибка time for regular maintenance 45 volvo xc90