简体   繁体   中英

System.Web.Helpers Namespace not working in WebMatrix

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM