Giter Site home page Giter Site logo

Comments (3)

ferenczy avatar ferenczy commented on July 20, 2024

According to the Microsoft's Version compatibility in .NET Framework document, the .NET Framework should be fully backwards compatible:

The .NET Framework 4.5 and later versions are backward-compatible with apps that were built with earlier versions of the .NET Framework. In other words, apps and components built with previous versions will work without modification on the .NET Framework 4.5 and later versions.

But there's also the following note, which may be the reason why DotNetVersions require older runtime, I guess:

However, by default, apps run on the version of the common language runtime for which they were developed, so you may have to provide a configuration file to enable your app to run on the .NET Framework 4.5 or later versions.

So it should be easily fixable, if I understood it right. Just add recent .NET Framework runtimes as supported runtimes to the app config, so people won't need to install outdated versions.

I'm not sure what's the reason for that, why any app is not automatically able to be executed on a newer runtime.

from dotnetversions.

ferenczy avatar ferenczy commented on July 20, 2024

And this is quite funny. I have manually downloaded the .NET Framework 3.5 SP1 runtime, executed the installer and it triggered the same missing runtime dialog. 😁 I guess I'm missing something...

Anyway, I have tried to use the "Download and install this feature" button on the missing runtime dialog and it ended up with this:

Failed installation of .NET Framework 3.5

I don't know what's wrong. I'm using quite vanilla machine, there was no messing with .NET Frameworks, I have just .NET Core 3.1 and Visual Studio installed and today, I have installed the .NET Framework 4.8 (Developer Pack).

So I'm effectively not able to run your app since I'm not able to install the .NET Framework 3.5. ☹

from dotnetversions.

jmalarcon avatar jmalarcon commented on July 20, 2024

Hi:

Have you tried to run it with the DotNetVersions.exe.config accompanying file that is in the .zip file? That file is needed for it to work with both 2.0 and 4.0 versions of the framework. If you execute the .exe file without it and only have the latest version, if won't work and will show the dialog that you are telling in the issue.

Try this and it will work. Tell me, please...

from dotnetversions.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.