Hello
Does anyone know how to remove (or make more general) both the Imports
clause (in a class .vb file) and the Page directive (specifically the
Inherits clause in a web page .aspx file).
Because we have a test and production region both residing on the same
machine, each time I need to promote a change from test to production I have
to change both of these references.
For example in my test region the class file will contain :-
Imports Test_region_fol der.class_folde r.class_filenam e1
Imports Test_region_fol der.class_folde r.class_filenam e2
Imports Test_region_fol der.class_folde r.class_filenam e3
and the web page will contain :-
<%@ Page Language="vb" AutoEventWireup ="false" validateRequest ="false"
Codebehind="asp xfilename.aspx. vb"
Inherits="Test_ region_folder.a spx_folder.aspx _filename"%>
When I promote these to production I have to change these to :-
Imports Prod_region_fol der.class_folde r.class_filenam e1
Imports Prod_region_fol der.class_folde r.class_filenam e2
Imports Prod_region_fol der.class_folde r.class_filenam e3
and
<%@ Page Language="vb" AutoEventWireup ="false" validateRequest ="false"
Codebehind="asp xfilename.aspx. vb"
Inherits="Prod_ region_folder.a spx_folder.aspx _filename"%>
As mentioned I'd like to remove the region reference to make it completely
general so that I can put it into any region (as in time we will create a
development region as well).
Cheers
Phil