2017-05-25 84 views
0

我想在未連接到Internet的PC上安裝Bootstrap Datetimepicker。如何告訴Visual Studio Bootstrap文件已更新?

我有Bootstrap Datetimepicker nupkg文件。我將這些文件的文件夾添加爲Package Source。當我嘗試安裝包,我得到的錯誤:

Unable to resolve dependencies. 'bootstrap 3.0.0' is not compatible with 'Bootstrap.v3.Datetimepicker.CSS 4.17.45 constraint: bootstrap (>= 3.3.0)' 

我已經複製引導3.3.7的所有CSS和JS文件到我的項目中相關的文件夾。我如何告訴Visual Studio他們已被更新?

回答

0

How do I tell Visual Studio that they have been updated?

您需要更新包引導到3.3.0或更高版本

enter image description here

要更新包Bootstrap.v3.Datetimepicker4.17.45,具有相關性的限制:bootstrap (>=3.3.0)。所以你需要更新軟件包引導程序。

enter image description here

I already copied all CSS and JS files of Bootstrap 3.3.7 to the relevant folders in my project

的NuGet管理包作爲一個整體不會修改內部數據,所以即使你已經複製引導3.3.7的所有CSS和JS文件,仍然的NuGet經理以前包Bootstrap 3.0.0。要解決此問題,只需將軟件包Bootstrap更新至3.3.0或更高版本即可。

相關問題