2010-04-03 41 views

回答

1

看在web.config

<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
0

如果您需要以編程方式檢查:

 Microsoft.Win32.RegistryKey registryKey; 

     registryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\NET Framework Setup\NDP\", false); 

     string[] installedNetVersions = registryKey.GetSubKeyNames(); 
0

System.Environment.Version會給你的應用程序在其下運行的CLR版本 - 這可能不是一樣的ASP.NET版本。

相關問題