H
Horace
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_folder.class_folder.class_filename1
Imports Test_region_folder.class_folder.class_filename2
Imports Test_region_folder.class_folder.class_filename3
and the web page will contain :-
<%@ Page Language="vb" AutoEventWireup="false" validateRequest="false"
Codebehind="aspxfilename.aspx.vb"
Inherits="Test_region_folder.aspx_folder.aspx_filename"%>
When I promote these to production I have to change these to :-
Imports Prod_region_folder.class_folder.class_filename1
Imports Prod_region_folder.class_folder.class_filename2
Imports Prod_region_folder.class_folder.class_filename3
and
<%@ Page Language="vb" AutoEventWireup="false" validateRequest="false"
Codebehind="aspxfilename.aspx.vb"
Inherits="Prod_region_folder.aspx_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
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_folder.class_folder.class_filename1
Imports Test_region_folder.class_folder.class_filename2
Imports Test_region_folder.class_folder.class_filename3
and the web page will contain :-
<%@ Page Language="vb" AutoEventWireup="false" validateRequest="false"
Codebehind="aspxfilename.aspx.vb"
Inherits="Test_region_folder.aspx_folder.aspx_filename"%>
When I promote these to production I have to change these to :-
Imports Prod_region_folder.class_folder.class_filename1
Imports Prod_region_folder.class_folder.class_filename2
Imports Prod_region_folder.class_folder.class_filename3
and
<%@ Page Language="vb" AutoEventWireup="false" validateRequest="false"
Codebehind="aspxfilename.aspx.vb"
Inherits="Prod_region_folder.aspx_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