ASP.NET MVC 文件夹结构和 NuGet [英] ASP.NET MVC folder structure and NuGet
本文介绍了ASP.NET MVC 文件夹结构和 NuGet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要一个自定义目录结构用于我的 MVC 项目中的内容,例如:
I want a custom directory structure for my Content in my MVC project for example:
Content
--js
--css
--img
是否可以告诉 NuGet 包在 Contentjs 文件夹中安装脚本?例如 jQuery 包,以便 jquery-1.6.js 文件安装在 Contentjs 文件夹中?
Is it possible to tell a NuGet package to install scripts in the Contentjs folder? For example the jQuery package so that the jquery-1.6.js file is installed in the Contentjs folder?
推荐答案
我相信答案是不".但是,有一些参考资料可以设置 NuGet 安装的根文件夹:http://nuget.codeplex.com/workitem/215(见评论)
I believe the answer to that is "No." There are, however, some references to be able to set the root folder NuGet installs things into: http://nuget.codeplex.com/workitem/215 (see the comments)
这篇关于ASP.NET MVC 文件夹结构和 NuGet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文