Showing posts with label mvc4. Show all posts
Showing posts with label mvc4. Show all posts

Wednesday, December 4, 2013

Directory does not exist. Parameter name: directoryVirtualPath

I had the same problem and found out that I had some bundles that pointed to non-exisiting files using {version} and * wildcards such as
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
    "~/Scripts/jquery-{version}.js"));
I removed all of those and the error went away.