Вопрос

Im trying to use the WebImage object type in WebMatrix 3. It works fine in the .cshtml file, but when doing the same thing in a .cs file it can't find the type. I've tried adding the Using System.Web.Helpers but nothing happens.

Any suggestions on how to fix it or whats wrong?

Это было полезно?

Решение

The problem occours sometimes in WebMatrix 3. After restarting my pc it all worked again.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top