Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had this exact same issue and found the fix. I noticed that if I used the jquery file's version number instead of the {version} token that it worked fine to use in bundling/minification. The issue was that it was not replacing the {version} token and then failed to pull the jquery file into the bundle. </p> <p>It looks like the System.Web.Optimization dll is responsible for converting the {version} token in the bundle config. I ended up using NuGet to update this dll. I also just updated all of the MVC related dlls while I was at it (Razor, MVC, web pages, etc). After that it worked.</p> <p>You can see if this is your problem by splitting up the operations for building and adding bundles to the bundle config. New up a bundle object. put a break point on it. Perform the Include method then perform the add method on the bundle config to add the new bundle. When you step into the bundle you can look inside of it after it performs the Include method to see if the Item property increments accordingly. It was not incrementing up for me when it was a problem.</p> <p>Also, here is a very well done reference for migrating to MVC 5 from MVC 4. I had some work to do to get all of my assembly references updated after I updated the NuGet packages. </p> <p><a href="http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2" rel="nofollow noreferrer">http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2</a></p> <p><a href="https://stackoverflow.com/questions/4626647/asp-net-this-method-cannot-be-called-during-the-applications-pre-start-initial">ASP.NET: This method cannot be called during the application&#39;s pre-start initialization stage</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload