Cross-Project Master Page

感情迁移 提交于 2020-01-04 14:21:37

问题


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-project 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.


回答1:


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



来源:https://stackoverflow.com/questions/6267433/cross-project-master-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!