this is an asp.net 2.0 question.
I have a project that holds a master page. I want to use the same
masterpage in another web project. It seems like this is not possible.
Anybody know how to work around this?
thx in advance!Copy it to the new project.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espaol : http://asp.net.do/foros/
======================================
"JP" <JP@.discussions.microsoft.com> wrote in message
news:D898AEDC-98E6-4CF8-BB71-213AA732DAAB@.microsoft.com...
> Hello,
> this is an asp.net 2.0 question.
> I have a project that holds a master page. I want to use the same
> masterpage in another web project. It seems like this is not possible.
> Anybody know how to work around this?
> thx in advance!
thx for the quick response...it would be nice not to copy to another project
since this would mean maintaining two copies...any other way?
"Juan T. Llibre" wrote:
> Copy it to the new project.
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
> ======================================
> "JP" <JP@.discussions.microsoft.com> wrote in message
> news:D898AEDC-98E6-4CF8-BB71-213AA732DAAB@.microsoft.com...
> > Hello,
> > this is an asp.net 2.0 question.
> > I have a project that holds a master page. I want to use the same
> > masterpage in another web project. It seems like this is not possible.
> > Anybody know how to work around this?
> > thx in advance!
>
Not unless you use osmosis... ;-)
Applications can't talk to each other.
Think of it as *one* instance per application.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espaol : http://asp.net.do/foros/
======================================
"JP" <JP@.discussions.microsoft.com> wrote in message
news:A1CC9409-2CA7-469A-AE9D-9F28C8897AAF@.microsoft.com...
> thx for the quick response...it would be nice not to copy to another project
> since this would mean maintaining two copies...any other way?
> "Juan T. Llibre" wrote:
>> Copy it to the new project.
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : http://asp.net.do/faq/
>> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
>> ======================================
>> "JP" <JP@.discussions.microsoft.com> wrote in message
>> news:D898AEDC-98E6-4CF8-BB71-213AA732DAAB@.microsoft.com...
>> > Hello,
>> > this is an asp.net 2.0 question.
>>> > I have a project that holds a master page. I want to use the same
>> > masterpage in another web project. It seems like this is not possible.
>> > Anybody know how to work around this?
>> > thx in advance!
>>
>>
>
Some people are using virtual directory tricks to share a master page
across two apps, but I feel this is brittle.
As Juan said, another approach is to copy the file to the new project.
A good source control tool will allow you to "share" the file between
projects such that an update to the file with update in both projects.
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Wed, 19 Oct 2005 16:25:04 -0700, "JP"
<JP@.discussions.microsoft.com> wrote:
>Hello,
>this is an asp.net 2.0 question.
>I have a project that holds a master page. I want to use the same
>masterpage in another web project. It seems like this is not possible.
>Anybody know how to work around this?
>thx in advance!
0 comments:
Post a Comment