开发者

Cross-Project Master Page

开发者 https://www.devze.com 2023-03-10 20:08 出处:网络
I asked a \"similar\" question here: Visual Studio Multi-Project Solution Options However, that did not specifically address my problem. In short: what is the best way to share a master page across

I asked a "similar" question here:

Visual Studio Multi-Project Solution Options

However, that did not specifically address my problem. In short: what is the best way to share a master page across a multi-projec开发者_运维百科t solution? I have a solution with over 20 internal Web app projects and want a common master page for all of these.

UPDATE:

I will need to share other resources also - CSS, images, JS files, etc.


Perhaps you could take advantage of NuGet? You could create a custom package, and host it internally. For each project you'll just need to install the package, which would bring in all the CSS, images, JS files, and masterpages.

When you make changes to the nuget package, you could easily "upgrade" the package using the package manager dialog in your project

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号