Web Application Project plug-in Installation Problems

Source: Internet
Author: User
I recently studied. net 2005, installed in a Chinese version, in the preparation of Web. site is not suitable. I checked some information and heard other people introduce that there is a Web Application Project plug-in which I can compile Web programs like VS2003. Then I installed the results, unfortunately, I reported an error. Later I checked the relevant information and said that Microsoft will launch fanit this summer. Later, I thought of asking for help from the Microsoft brothers I admire. I replied to the following email:

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 shocould 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.

I tried it myself. It seems that there are only two options in the Chinese version: Chinese and microsoft Windows. This method must be different in the Chinese version, but not in other languages.

Later I found another strange trick, saying that the English VS2005 version was first installed, then the Web Application Project was installed, then the English VS2005 version was uninstalled, and then the Chinese VS2005 was installed, in this way, the Web Application Project appears in the Chinese VS2005 version.

However, there are still new problems in the use results. When designing server control events, the automatically added event response function is directly defined in the aspx page file. The aspx code is as follows:

<% @ Page Language = "C #" AutoEventWireup = "true" CodeBehind = "Default. aspx. cs" Inherits = "WebApplication1. _ Default" %>

<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<Script runat = "server">

Protected void button#click (object sender, EventArgs e)
{

}
</Script>

<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head runat = "server">
<Title> Untitled Page </title>
</Head>
<Body>
<Form id = "form1" runat = "server">
<Div>
<Asp: Button ID = "Button1" runat = "server" OnClick = "button#click" Text = "Button"/> </div>
</Form>
</Body>
</Html>

The correct effect of using VS2005 is to automatically add the Event Response Function Definition in the CS code. The CS code is as follows: using System;
Using System. Data;
Using System. Configuration;
Using System. Collections;
Using System. Web;
Using System. Web. Security;
Using System. Web. UI;
Using System. Web. UI. WebControls;
Using System. Web. UI. WebControls. WebParts;
Using System. Web. UI. HtmlControls;

Namespace WebApp1
{
Public partial class _ Default: System. Web. UI. Page
{
Protected void Page_Load (object sender, EventArgs e)
{

}

Protected void button#click (object sender, EventArgs e)
{

}
}
}

Alas, after a long time, I still haven't installed the Web Application Project successfully on the Chinese version of VS2005. It seems that it is only waiting for the release in the summer (but it has already arrived in the summer, and Changsha has been very popular in recent days ), waiting .....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.