FormFactory icon indicating copy to clipboard operation
FormFactory copied to clipboard

jQuery killed in Asp.Net Mvc

Open Budsy opened this issue 9 years ago • 2 comments

The EmbeddedResourceVirtualPathProvider kills my Mvc + Bootstrap app's jQuery is rendered nofunctional, as the jQuery object is no longer recognized. Is there an elegant way to fix this? I will figure it out eventually, but maybe someone has already encountered this issue?

Budsy avatar Feb 04 '17 00:02 Budsy

Ok, I discovered that using bundles to load in jQuery doesn't seem to play perfectly well with the EmbeddedREsourceVirtualPathProvider on my setup. I have to explicitly declare the jQuery file and version in the bundles. No wildcard for the version works for some reason. Version conflict of some kind? The jQuery I used successfully was 3.1.1 .

Budsy avatar Feb 04 '17 06:02 Budsy

Interesting! So jquery won't bundle, but other things will? I guess you can workaround it until we figure out why

On Sat, 4 Feb 2017 at 06:13, Budsy [email protected] wrote:

Ok, I discovered that using bundles to load in jQuery doesn't seem to play well with the EmbeddedREsourceVirtualPathProvider on my setup. When I loaded jQuery in the section of the page, it all came back to life, Oddly, only the jQuery bundle seems to have failed for some reason.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mcintyre321/FormFactory/issues/36#issuecomment-277422353, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQ0-u0ANmUJIrhUHgP3wYayu6MVkVg2ks5rZBcMgaJpZM4L29j3 .

mcintyre321 avatar Feb 04 '17 09:02 mcintyre321