开发者

Sharing css/javascript/images between different projects in Visual Studio

I can't seem to figure out the most efficient way to do this.

For example, 开发者_运维百科I have some js files that are needed in both projects(within the same solution), how do I include them without duplicating the actual physical files, which I would rather not do? Same goes for images and css files.

I would also like to know what's the best way to generalize this for including the js resources in other solutions/projects.

VS really seems to be lacking an easy intuitive solution in this retrospect.

Any ideas?


Why does it matter which project they are in? All you really care about is where they get deployed on your web site, and what the path to them from the root of your site is, right? So just pick a place to put them and have and code that refers to them use that path.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜