title: New .NET feature bundle and minification {version} wildcard doesn't work with directories?
body: <p>I have the following pice of code which runs perfectly:</p>
  
  <pre><code>bundles.Add
  (
      new ScriptBundle("~/bundles/scripts")
      .Include
      (
          "~/Scripts/jquery-{version}.js"
          ,"~/Scripts/jquery-ui-{version}.js"
          ,"~/Scripts/jquery.unobtrusive*"
          ,"~/Scripts/jquery.validate*"
          ,"~/Scripts/fullcalendar-1.5.4/fullcalendar.js"
          , "~/Scripts/DataTables-1.9.3/media/js/jquery.dataTables.js"
      )
  );
  </code></pre>
  
  <p>But then I want to use the {version} wildcard to use all of it's nifty features:</p>
  
  <pre><code>bundles.Add
  (
      new ScriptBundle("~/bundles/scripts")
      .Include
      (
          "~/Scripts/jquery-{version}.js"
          ,"~/Scripts/jquery-ui-{version}.js"
          ,"~/Scripts/jquery.unobtrusive*"
          ,"~/Scripts/jquery.validate*"
          , "~/Scripts/fullcalendar-{version}/fullcalendar.js"
          , "~/Scripts/DataTables-{version}/media/js/jquery.dataTables.js"
      )
  );
  </code></pre>
  
  <p>and BANG, exception, it doesn't work, am I doing something wrong?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p><em><strong>Exception info:</em></strong>
  System.ArgumentException:</p>
  
  <p>Directory does not exist.
  Parameter name: directoryVirtualPath</p>
  
  <p><em><strong>Stack:</em></strong></p>
  
  <blockquote>
    <p>[ArgumentException: Directory does not exist. Имя параметра:
    directoryVirtualPath]<br>
    System.Web.Optimization.Bundle.Include(String[] virtualPaths) +40<br>
    Aerostar.BundleConfig.RegisterBundles(BundleCollection bundles) in
    c:\Users\Denis\Documents\Visual Studio
    2012\Projects\Aerostar\Aerostar\App_Start\BundleConfig.cs:21<br>
    Aerostar.MvcApplication.Application_Start() in
    c:\Users\Denis\Documents\Visual Studio
    2012\Projects\Aerostar\Aerostar\Global.asax.cs:24</p>
    
    <p>[HttpException (0x80004005): Directory does not exist. Имя параметра:
    directoryVirtualPath]<br>
    System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext
    context, HttpApplication app) +9859725<br>
    System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr
    appContext, HttpContext context, MethodInfo[] handlers) +118<br>
    System.Web.HttpApplication.InitSpecial(HttpApplicationState state,
    MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172<br>
    System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr
    appContext, HttpContext context) +336<br>
    System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr
    appContext) +296</p>
    
    <p>[HttpException (0x80004005): Directory does not exist. Имя параметра:
    directoryVirtualPath]<br>
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9873912 
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
    +101    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
    wr, HttpContext context) +254</p>
  </blockquote>