Sharing assets (images/css/js) between projects using either Visual Studio or TFS

后端 未结 3 1374
太阳男子
太阳男子 2021-01-14 08:03

Is there an effective way to share visual assets between different projects?

This would include images, CSS and JavaScript.

I\'ve looked at the following S

3条回答
  •  Happy的楠姐
    2021-01-14 08:43

    I have been struggling with this same problem, and I found that the best solution for me was simply to create a "holder" project for the assets files, and with the help of pre-build events just copy all the files into the projects that require them. This way you just need to edit them in the "holder" project, but they will always be in-sync as long as you dont touch them in the other projects.

提交回复
热议问题