可以从其它电脑上复制中文版的.xml文件到:
4.4:C:\Windows\Microsoft.NET\Framework\v2.0.50727\zh
5.1:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.XX
SharpDevelop_5.1.0.5216_Source\src\Main\SharpDevelop\Parser\AssemblyParserService.cs 中有一段:
static string FindXmlDocumentation(FileName assemblyFileName, TargetRuntime runtime)
case TargetRuntime.Net_4_0:
default:
xmlFileName = LookupLocalizedXmlDoc(Path.Combine(referenceAssembliesPath, @".NETFramework\v4.5.2", name))
?? LookupLocalizedXmlDoc(Path.Combine(referenceAssembliesPath, @".NETFramework\v4.5.1", name))
?? LookupLocalizedXmlDoc(Path.Combine(referenceAssembliesPath, @".NETFramework\v4.5", name))
?? LookupLocalizedXmlDoc(Path.Combine(referenceAssembliesPath, @".NETFramework\v4.0", name))
?? LookupLocalizedXmlDoc(Path.Combine(frameworkPath, "v4.0.30319", name));
break;
由此可见实际是从4.5.1t(5.1发布时最新的.net版本)版开始向下找。其实安装了4.5以上的dev包的中文版时会自动安装中文版的.xml文件