質問

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