I'm using the ASP.Net 5 RC, but I don't want to use bower, I want to use NPM to manage all of my dependencies.
I have removed bower.json, removed the bower install command from project.json and specifically removed each package using bower uninstall.
However, it stil shows up in the solution explorer:
Is there any way to properly remove it, or is this just the way ASP.Net 5 is supposed to be used?
Thanks
Uninstall packages If you use the bower. json file, remove the package from this file and launch bower install again. It will not remove it, you have to use the bower uninstall command.
Bower is a “package manager for the web.” Bower lets you install and restore client-side packages, including JavaScript and CSS libraries. For example, with Bower you can install CSS files, fonts, client frameworks, and JavaScript libraries from external sources.
Turns out, the key is to remove the DnxInvisibleContent tag inside ItemGroup in the xproj file.
My ItemGroup section now looks like this:
<ItemGroup>
<DnxInvisibleContent Include=".bowerrc" />
<DnxInvisibleContent Include="package.json" />
</ItemGroup>
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