在 Windows 7 中禁用/删除 .NET Framework 3.5 语言包
Windows 7 已安装 .NET Framework 3.5。因为我安装了荷兰语版本的Windows 7,所以.NET 3.5抛出的错误也是荷兰语的。在 Visual Studio 中调试时不太实用,我想要英语例外。
在 Windows XP 中这不是问题,您可以卸载语言包(安装/卸载程序)。然而,出于某种原因,微软决定您不能卸载该语言包,因为它现在是操作系统的一部分。
什么不起作用:
- 从框架中手动删除 .resources 文件。 C:\Windows\Microsoft.NET\Framework\v2.0.50727\nl
- 安装荷兰语 语言包(当然已经安装了),希望有一个可用的卸载选项。
什么有效:
- 在 .NET 4.0 中开发我的 Web 应用程序,因为 Win 7 默认情况下不安装 .NET 4.0。这最终会起作用...
- 添加
到 web.config。我的大部分申请都是荷兰语,所以我无法更改此设置。必须是 nl-NL。
如何在荷兰语 Windows 7 计算机上删除/禁用 .NET Framework 3.5 的荷兰语语言包?
Windows 7 comes with the .NET Framework 3.5 already installed. Because I installed the Dutch version of Windows 7, the errors thrown by .NET 3.5 are also in Dutch. Not very practical when debugging in Visual Studio, I want the English exceptions.
In Windows XP this was not a problem, you could uninstall the language pack (Install / Uninstall program). However for some reason MS decided you cannot uninstall the language pack, because it's now part of the operating system.
What doesn't work:
- Manually remove .resources files from the framework. C:\Windows\Microsoft.NET\Framework\v2.0.50727\nl
- Install the Dutch language pack (it's already installed ofcourse), hoping there would become an uninstall option available.
What does work:
- Develop my webapplications in .NET 4.0, because .NET 4.0 is not installed by default with Win 7. This will work eventually...
- Add
<globalization UiCulture="en-US" />
to the web.config. Most of my application are in Dutch so I can't change this setting. Has to be nl-NL.
How can I remove / disable the Dutch language pack for .NET framework 3.5 on a Dutch Windows 7 machine?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,您可以从 Windows 7 中卸载已安装的语言包。您必须从控制面板中打开“安装或卸载显示语言”。只需在 Windows 7 开始菜单中写入“卸载语言包”即可访问此选项。
You can actually uninstall an installed language pack from Windows 7. You have to open "Install or uninstall display languages" from the Control Panel. Just write e.g. "uninstall language pack" in the Windows 7 Start Menu to access this.