I'm having a strange issue working with ASP.NET MVC 4 and Cache Manifest.

I've created a simple test solution here: http://andrewherrick.com/assets/MVC4EFOfflineCacheManifest.zip

You can see that something is adding an extra space at the top of the Cache Manifest file which is causing it to not parse. Any Idea what is going on?

enter image description here

有帮助吗?

解决方案

@{ Layout = "~/Views/Shared/_Layout.cshtml"; }

Make sure you remove the extra space after closing brace in _ViewStart

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top