Changing application name

  • Thread starter Thread starter Santosh Pradhan
  • Start date Start date
S

Santosh Pradhan

Hi All,

Our client did not decide the name for the application until the development
was over. Now we need to deploy application using different name for the
application and the virtual directory on IIS.

After I changed the project name and installed it in different virtual
directory .NET does not find the resources. That is because every web form
and other resources are referred using the old project name:

<% Page Language="vb" AutoEventWireup="false" Codebehind="importXML.aspx.vb"
Inherits="DevApp.importXML" %>

Modifying each an every page is impossible, lot of work plus lot of
re-testing - unnecessary!

How I can change the application name ("DevApp") that will reflect on all
files? Is there any easy way? May be I am missing something .....

Any help is highly appreciated!!

Thanks in advance.
- Santosh
 
What I would do, is leave all the pages & namespaces the same. However, if you go into the properties of your projects, you can change the name of your assembly. Under the "Common Properties" -> "General", you can change it under the "Assembly Name" value. Does this make sense?

Matt Hawley, MCAD .NET
http://www.eworldui.net

Hi All,

Our client did not decide the name for the application until the development
was over. Now we need to deploy application using different name for the
application and the virtual directory on IIS.

After I changed the project name and installed it in different virtual
directory .NET does not find the resources. That is because every web form
and other resources are referred using the old project name:

<% Page Language="vb" AutoEventWireup="false" Codebehind="importXML.aspx.vb"
Inherits="DevApp.importXML" %>

Modifying each an every page is impossible, lot of work plus lot of
re-testing - unnecessary!

How I can change the application name ("DevApp") that will reflect on all
files? Is there any easy way? May be I am missing something .....

Any help is highly appreciated!!

Thanks in advance.
- Santosh



[microsoft.public.dotnet.framework]
 
Back
Top