Closed saf-itpro closed 7 years ago
What does the console debugger window say in Chrome Tools? Are there any js files not getting loaded when you debug? I'm using Bootstrap V4.Alpha6 with zero issues.
Also, if you're running on "Development", which I'm assuming you are, your two test cases are apples and oranges. Meaning you're pointing to a CDN in one example (which works), and then locally in your example that doesn't.
@chris-oswald I'm using Bootstrap 3.3.0 on Development. console debugger window in Chrome does not say anything - no complains/warnings there. Yes two cases are CDN vs. local. But it seems Bootstrap does not have to be > 3.3.0? for above example.
@saf-itpro You seem to be using local files referencing the bower "/lib" when running on "Development". Try installing the bower packages using the bower install
command. That should do the trick.
Indeed, it sounds like the Bootstrap files just aren't getting loaded for some reason.
The tooling and templates in VS2015 are not supported (they were just preview versions), and there have since been many improvements, fixes, and changes to ASP.NET Core and the related tools, which I recommend you get. You can try out the latest templates by installing the .NET CLI, and you can use it with VS2017 (including Community Edition), VS Code, and VS for Mac.
Download details here: https://www.microsoft.com/net/download/core
In our
ASP.NET Core MVC
app inVS2015
, we're using the default built-injquery
andBootstrap
configuration that VS2015 performs when you create a web app using default ASP.NET Core MVC template. We've latest version ofVS2015 with UPDATE-3
.View [of our ASP.NET Core MVC app on VS2015 where clicking on menu items 1, 2 or 3 does NOT popup the alert('Test')]:
The above behavior in the following standalone html file works [It can be tested by saving the file code as an
.html
file]:_Layout.cshtml file [of our ASP.NET Core MVC app on VS2015]:
The Generated html of the above ASP.NET View in Google Chrome: