So i just installed a clean version of Windows 10 and Visual Studio 2017 Community.
Trying to create a brand new ASP.NET Core 2.0 project i saw that Bower
is missing under the Dependencies
node.
Bootstrap
and jquery
packages are already installed but i cannot manage them and cannot seem to find a configuration file either.
I searched the web for this problem but didn't found nothing useful.
Is there an issue with the VS 15.5.2 update? How can I fix this?
This is very annoying, but I guess the Manage Bower Packages context menu is now enabled only when you have the respective bower configuration file (bower.json) and right-clicking it.
Just create a new file bower.json and .bowerrc in the root directory project (nested solution) as respectively showed below:
{
"name": "asp.net",
"private": true,
"dependencies": {
}
}
{
"directory": "wwwroot/lib"
}
A good hint to create any file is using Mads Kristensen's extension Add New File (SHIFT + F2) already embedded in Web Essentials Extension (recommended) also created by him.
So, right-click bower.json.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With