在项目之间共享母版页 [英] sharing master pages between projects

查看:84
本文介绍了在项目之间共享母版页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!



我有一个带有母版页的简单Web应用程序。我有另一个Web应用程序,我想在其中使用第一个Web应用程序的母版页。意味着我想跨两个项目共享母版页。如果有人知道如何做到这一点,请尽快发布你的答案。

你的帮助将受到高度赞赏..

Hello!

I have a simple web application with a master page. And I have another web application in which I want to use the master page of the 1st web application. Means I want to share master pages across two projects. Please if anyone knows anything about how to do it post your anwers asap.
your help will be highly appreciated..

推荐答案

Hii professional ...



这是一些可以帮助你的重要链接...



http://stackoverflow.com/questions/30884/what-is - 跨项目的最佳分享主页 - [ ^ ]



http://blogs。 msdn.com/b/shahpiyush/archive/2007/03/09/sharing-master-pages-amongst-applications-by-embedding-it-in-a-dll_2e00_.aspx [ ^ ]



乐于帮助
Hii professional...

this is some important link that can help you...

http://stackoverflow.com/questions/30884/what-is-the-best-way-to-share-masterpages-across-projects[^]

http://blogs.msdn.com/b/shahpiyush/archive/2007/03/09/sharing-master-pages-amongst-applications-by-embedding-it-in-a-dll_2e00_.aspx[^]

happy to help


发布拥有母版页的网站然后你可以看到发布的网站bin文件夹包含一个dll具有奇怪名称的文件在gac中安装该dll然后您可以在多个子应用程序中使用该页面。

http://weblogs.asp.net/dwahlin/archive/2005/11/16/430779.aspx [ ^ ]



请参阅此博客,了解完整的分步教程。我使用这种方法,它对我来说很好...干杯:)
Publish the website that have the master page then you can see the published website bin folder contains a dll file with a strange name install that dll in gac and then you can use the page in more than one sub application.
http://weblogs.asp.net/dwahlin/archive/2005/11/16/430779.aspx[^]

see this blog for complete step by step tutorial. I used this method and it works fine for me ... Cheers :)


这篇关于在项目之间共享母版页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆