Felix
Felix

Reputation: 10078

bower.json doesn't show in Visual Studio 2015 solution explorer

I read everywhere that VS2015 shows all files in the directory. However, I don't see bower.json unless I click "show all files" icon. Since there is no option "include in/exclude from project" as there was before, I don't understand how this is controlled. Other service files (package.json, project.json, etc. ) do show up, but not bower.json.

How do I include bower.json in solution explorer?

Upvotes: 4

Views: 2094

Answers (3)

Cuteribs
Cuteribs

Reputation: 1

Try 'bower init' under your project folder. You might need to install node.js/npm and bower first.

Upvotes: 0

Alberto Viezzi
Alberto Viezzi

Reputation: 341

button to click

First click the 3rd button from left at the top of solution explorer menu to show all files. Then right click on the bower.json file and select "Show in Solution Explorer". (If you prefer, do the same with .bowerrc) Finally click the 3rd button from left at the top of solution explorer menu again to hide all files while bower.json keeps visible.

Upvotes: 1

Charitha Goonewardena
Charitha Goonewardena

Reputation: 4714

Right Click on the bower.json file then show this in Solution Explorer. That's it

enter image description here

Upvotes: 6

Related Questions