Issue with Bundling and Release mode
问题 When ever i publish my web site with debug="false" mode and BundleTable.EnableOptimizations = true the server returns the following exception for bundled scripts and styles while requests are just for non authorized requests! But if I run application with debug="true" or user is logged in (via forms authentication in release mode) the exception does not occur and every thins works just fine. I think there should be a relation between bundling and authentication!! as the exception indicates.