In a asp.net mvc 4.5 web app using kendo bootstrap I get an 404 error when my css bundle is minified.
Setup
Bootstrap v3.1.1
Kendo UI Complete v2013.3.1424
Web.config: <system.web><compilation debug="false" targetFramework="4.5" />
BundleConfig.cs
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
bundles.Add(new StyleBundle("~/Content/allcss").Include(
"~/Content/bootstrap.min.css",
"~/Content/kendo/kendo.common-bootstrap.min.css",
"~/Content/kendo/kendo.bootstrap.min.css",
"~/Content/kendo/kendo.dataviz.min.css",
"~/Content/kendo/kendo.dataviz.bootstrap.min.css",
"~/Content/site.css"));
Error:
"NetworkError: 404 Not Found - http://localhost:58709/Content/Bootstrap/sprite.png"
Solution: If I copy/move the Bootstrap folder from Content/kendo to Content it works (in compilation debug="false"), however produces error in compilation debug="false".
For now I can live with having the kendo/Bootstrap folder in two places.
Setup
Bootstrap v3.1.1
Kendo UI Complete v2013.3.1424
Web.config: <system.web><compilation debug="false" targetFramework="4.5" />
BundleConfig.cs
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
bundles.Add(new StyleBundle("~/Content/allcss").Include(
"~/Content/bootstrap.min.css",
"~/Content/kendo/kendo.common-bootstrap.min.css",
"~/Content/kendo/kendo.bootstrap.min.css",
"~/Content/kendo/kendo.dataviz.min.css",
"~/Content/kendo/kendo.dataviz.bootstrap.min.css",
"~/Content/site.css"));
Error:
"NetworkError: 404 Not Found - http://localhost:58709/Content/Bootstrap/sprite.png"
Solution: If I copy/move the Bootstrap folder from Content/kendo to Content it works (in compilation debug="false"), however produces error in compilation debug="false".
For now I can live with having the kendo/Bootstrap folder in two places.