Issue 9 - Installing on non-English Locales
Web Application Projects are shipped in two parts: a Visual Studio 2005 addin which adds Web Application Projects and a GDR which makes small changes to Visual Studio 2005 to allow the Web Application Projects addin to work better.
The GDR contains a check to make sure you are installing on an English locale version of Visual Studio 2005. If you are running Visual Studio 2005 in another locale the install will fail. The addin has a check to make sure the GDR is installed.
The following workaround should allow you to install an English version of Web Application Projects on your localized version of Visual Studio 2005. Please note this is not a tested scenario and is only provided for testing purposes on your localized system.
Please note you will have to have an English version of Visual Studio 2005 installed on your localized version of Windows. You can run different localized versions of Visual Studio 2005 side-by-side.
1. Under Tools/Options/International Settings in Visual Studio 2005, set the language to "English"
2. Install the Web Application Projects GDR -- http://go.microsoft.com/fwlink/?LinkId=63636
3. Install the Web Application Projects Addin -- http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx
4. Under Tools/Options/International Settings, set the language back to your normal language.
自己试过了,好像中文版本里面只有两项选择:中文 和 microsoft window相同。这方法肯定是在中文版本上行不同,其它语言版本未试。
后来自己又查到一怪招,说是先安装英文VS2005版本,随后把Web Application Project安装上,再卸载英文VS2005版本,再随后把中文VS2005安装上去,这样Web Application Project果真出现在中文VS2005版本里面了。
不过使用结果还是出现新的问题,在设计服务器控件事件时自动增加事件响应函数直接定义在aspx页面文件中了,aspx代码如下: