.NET (Visual Studio) Share assets between projects

前端 未结 5 539
别那么骄傲
别那么骄傲 2021-02-04 07:14

I\'m working with Visual Studio. There I have a solution with several web-projects (.net MVC 4). All of these web-projects use the same javascript-libs. Currently I copied the l

5条回答
  •  余生分开走
    2021-02-04 08:15

    Place the JS files in a single folder, likely above all others, and add them to the project but use the "Link" option. It's part of the drop down on the "OK" button in the "Add existing item..." dialog.

提交回复
热议问题