I encountered a problem at the company: C # project "XXXXX" is for ". netframework,version=v4.7.1 "But this computer does not have it installed
Is that I'm opening someone else's project and finding someone else's project. The version of the. NET Framework is higher than the version of My computer ("more than the version of my development environment. NET Framework").
You can choose to lower the version (choose the first one):
Not recommended, a: Because someone else's version is high, your version is low and out of sync, what if your code is merged? What about SVN, git?
Not recommended, B: I might as well update their own computer environment, a solution, no longer worry about the problem, anyway, I also become a high version (backwards compatible)
So I chose the "download." netframework,version=v4.71 Target Package ", in the browser download, either the browser does not open the link, or open the link, download the installation failed (the reason is that my computer has more than or already have the version of the. Net framework)
It's a wonder, since my computer has "already had the. Net framework of that version," then why not open someone else's high-level project.
Later after the toss-up understand:Windows 8 or 10 systems, from a higher version of the. NET Framework , that is, your PC can run any project hosted in the. NET Framework.
And your own vs development Environment, also has its own independently developed version of the. Net Framework , can be understood as two environments, I do not understand why there are two of them? May the development environment of the comparison advanced bar, there is a lot of monitoring and debugging it?
So the thing I downloaded was the. NET Framework in Windows 8 or 10 system, so the installation would be "already over or already has the. NET Framework of this version", then the solution is to download the. NET Framework for the VS development environment The version.
Programme one:
The download path is:
Https://www.microsoft.com/net/download/visual-studio-sdks
Refer to the following to download the development version (Developer Pack) that you want to correspond to:
Download complete, ready to install, perfect solution.
Scenario Two:
Open the Repair tool for VS (which is the system menu and vs boot), changing the. Net Framework Development version environment. (I only found this repair tool in VS2017, VS2015 I did not find, if you find the words, welcome message)
VS2017 that Configuration tool program?
The above reference is inspired by https://www.cnblogs.com/netxiaohui/p/5744396.html
The C # project "XXXXX" is for ". netframework,version=v4.7.1 "But this computer did not install it and so on issues