문제

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