Console installation and detection Microsoft.NET Framework

Source: Internet
Author: User

1. Testing

Each version of the. Net Framework installation process generates a subdirectory (the installation directory) in the \Microsoft.NET\Framework directory in the Windows directory.

For example, assuming that the Windows directory is in the C drive and that the Windows directory was not renamed when the OS was installed, the installation directory for the. Net Framework 3.5 should be:

C:\Windows\Microsoft.NET\Framework\v3. 5  

In this directory there should be a version of the MSBuild.exe, we do msbuild/version should be able to get version information.

In order to improve the adaptability of the command we use%WINDIR% instead of C:\Windows, and then we execute the following command in the console:

CD%windir%\microsoft.net\framework\v3. 5  /version

The resulting output information contains the exact version of the. Net Framework 3.5 on this computer.

The results of my implementation are as follows:

2, installation just installed window 7 system and IIS, the program always can not run up, reported IIS not complete installation error to install the following decisive run up (need administrator account into the system): 1. Open run input cmd2. Enter CD C:\Windows\ microsoft.net\framework\v4.0.303193. Enter Aspnet_regiis.exe-i OK------------------------------finished!

Console installation and detection Microsoft.NET Framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.