J
J
Jasee Cambatch2018-11-04 21:52:16
C++ / C#
Jasee Cambatch, 2018-11-04 21:52:16

How do I remove the "installing netframwork" error?

Made a program in Visual studio 2017.
In C# language.
I packed it into the installer - transferred it to another computer - launched it and got an error there.
"This application requries one of the following versions of .NETFramework"
and offers to download no framework.
How to make sure that the new user does not have to search and download anything?
How to embed the installation of this component into the installer itself?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
shai_hulud, 2018-11-05
@ekpartizan

1) View the list of pre-installed versions of the .NET Framework on those versions of Windows where the application will be installed.
2) Specify target framework this version in the project settings.
3) Remove, then add all packages from Nuget, replace with others if they are not available for this version of the framework.

Y
Yuuki Wesp, 2018-11-04
@AnotherAltr

No way.

M
Maxim Isaev, 2018-11-04
@MaximIs

Unfortunately, no way, because. the latest version of VisualStudio uses the current version of the .net framework, the PC on which you install your software uses an outdated version of the .net framework. What's the problem with just installing the current one? Case 5 minutes. It's all obvious. :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question