Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

sharing masterpage across two projects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JP - 20 Oct 2005 00:25 GMT
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!
Juan T. Llibre - 20 Oct 2005 01:29 GMT
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/
======================================
> Hello,
> this is an asp.net 2.0 question.
[quoted text clipped - 3 lines]
> Anybody know how to work around this?
> thx in advance!
JP - 20 Oct 2005 03:13 GMT
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?

> Copy it to the new project.
>
[quoted text clipped - 9 lines]
> > Anybody know how to work around this?
> > thx in advance!
Juan T. Llibre - 20 Oct 2005 04:18 GMT
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 Español : http://asp.net.do/foros/
======================================
> 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?

>> Copy it to the new project.
>>
[quoted text clipped - 9 lines]
>> > Anybody know how to work around this?
>> > thx in advance!
Scott Allen - 20 Oct 2005 13:51 GMT
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/

>Hello,
>this is an asp.net 2.0 question.
[quoted text clipped - 3 lines]
>Anybody know how to work around this?
>thx in advance!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.