Bootstrap v3.0.1.1 在干净的 VS 空项目上失败 - 如何解决? [英] Bootstrap v3.0.1.1 fails on clean VS empty project - how to resolve?

查看:25
本文介绍了Bootstrap v3.0.1.1 在干净的 VS 空项目上失败 - 如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在VS 2012中新建一个空的MVC4项目并安装最新的jQuery(2.0.3)后,出现如下Nuget包安装错误:

After creating a new empty MVC4 project in VS 2012 and installing the latest jQuery (2.0.3), the following Nuget package installation errors occur:

正在尝试解决依赖项bootstrap (≥ 3.0.1)".试图解决依赖关系'jquery (≥ 1.9.0)'.外部包不能依赖在针对项目的包上.

Attempting to resolve dependency 'bootstrap (≥ 3.0.1)'. Attempting to resolve dependency 'jquery (≥ 1.9.0)'. External packages cannot depend on packages that target projects.

Twitter.Bootstrap 日期为 2013 年 11 月 1 日.

Twitter.Bootstrap dated Nov 1, 2013.

还有其他人吗?

推荐答案

尝试

Install-Package Bootstrap

代替

Install-Package Twitter.Bootstrap

这篇关于Bootstrap v3.0.1.1 在干净的 VS 空项目上失败 - 如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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