ASP.NET 2 projects to share same files

前端 未结 3 1237
情书的邮戳
情书的邮戳 2021-01-14 14:15

Well as the title says i have 2 web projects that have the same css files, master page and some resource files, how could i share those? atm i have 2 copies of them...

3条回答
  •  借酒劲吻你
    2021-01-14 14:35

    Here is an article that describes how to share pages and user controls between applications : HOW TO: Share ASP.NET Pages and User Controls Between Applications by Using Visual Basic .NET. It's solution depends on separate virtual directory that holds the shared files.

    And in this article Scott Guthrie describes how to build reusable web assemblies. It's solution depends on making separate assembly by shared files.

提交回复
热议问题