Currently I've got the following code in my BundleConfig.cs:
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/site.css",
"~/Content/ie8.css"
));
Obviously, I only want the "ie8.css" stylesheet to be displayed for IE8. I can do this quite easily by taking this out of my BundleConfig.cs file and adding the standard HTML tags to achieve this in my Layout Views.
However, I'm wondering if there's any way to achieve this same result in the BundleConfig.cs file and keep the file auto-minification? I'm guessing the code-behind doesn't know anything about the user's browser so it isn't possible, but figured I'd ask some of the experts out there!