Help!! program created in vb.net 2022 does not work for me in windows 7

Javier Iriarte 1 Reputation point
2022-03-24T08:37:00.157+00:00

Greetings to the whole community.

I just finished my application in VB.net of Visual studio 2022 with windows 10... To my surprise when I install my application on another computer with Windows 7 it asks me to install (Net Runtime 6.0.1) after having been installed the application does not it asks for nothing else but it just doesn't start it doesn't do anything... on my computer with windows 10 my application works perfectly.

Acabo de terminar mi aplicacion en VB.net de Visual studio 2022 con windows 10... Para mi sorpresa cuando instalo mi aplicacion en otro equipo con Windows 7 me solicita instalar (Net Runtime 6.0.1) luego de haber sido instalado la aplicacion no solicita mas nada pero simplemente no inicia no hace nada... en mi equipo con windows 10 trabaja perfectamente mi aplicacion.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,668 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Castorix31 83,206 Reputation points
    2022-03-24T08:46:46.363+00:00

    To my surprise when I install my application on another computer with Windows 7 it asks me to install (Net Runtime 6.0.1)

    You apparently created a .NET Core project with .NET 6

    From Install .NET on Windows, .NET 6 needs Windows 7 SP1 ESU

    Probably you should create a .NET Framework project instead of a .NET Core project

    1 person found this answer helpful.
    0 comments No comments

  2. Javier Iriarte 1 Reputation point
    2022-03-24T09:02:51.677+00:00

    if that is correct do it in Net 6.0. but if I change it to the other options in the same way the application does not work for me in Win7. I try to install another version and the same ones appear to me already and I have installed several versions of the Framework but only the same options that are shown on the screen appear.

    186368-image2.jpg


  3. Javier Iriarte 1 Reputation point
    2022-03-24T23:55:47.943+00:00

    Certainly this error was the result of more than 4 years without programming. copy all the code of my application (Net 6.0 to Net. Framework). and if the list appears up to framework 4.8 and it already works perfectly for me in Win7.... Thank you very much for your help.