ASP.NET MVC文件夹结构和的NuGet [英] ASP.NET MVC folder structure and NuGet

查看:110
本文介绍了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包中的内容\\文件夹的js安装脚本?例如,使jQuery的-1.6.js文件被安装在内容\\文件夹的js jQuery的包?

Is it possible to tell a NuGet package to install scripts in the Content\js folder? For example the jQuery package so that the jquery-1.6.js file is installed in the Content\js folder?

推荐答案

我相信这个问题的答案是否。有,但是,一些引用可以设置根文件夹的NuGet安装的东西变成: HTTP://nuget.codeplex.com /工作项目/ 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆