Be careful with the usage of Bower in those VS versions in ASP.NET Core MVC web applications. It is a useful tool, but seems not to be fully reliable at the moment.


  • Bootstrap v3.3.7 suddenly asks for tether ( When you look at the Bootstrap JS file, you might see v4 alpha comments in the code, even if Bower shows it as 3.3.7.
  • Similar issue e.g. with jquery 2.2.0 -> 3.1.1
  • The version option chooser in the Bower packet management seems to have no effect, and also the Prerelease option.
  • Bootstrap layout, e.g. the navbar, is suddenly invisible or destroyed


This one worked for me (tested in VS 2017 RC but should also work for 2015u3):

  1. bower.json: Make sure the version numbers are correct
  2. Close Visual Studio
  3. delete %LOCALAPPDATA%\bower folder
  4. delete content of [yourproject]\wwwroot\lib
  5. Re-Open your project with Visual Studio
  6. Right-click on bower dependencies -> restore
  7. Versions should be correct now





Share This:

  [email protected]