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