简体   繁体   English

System.Web.Helpers命名空间在WebMatrix中不起作用

[英]System.Web.Helpers Namespace not working in WebMatrix

Im trying to use the WebImage object type in WebMatrix 3 . 我试图在WebMatrix 3使用WebImage对象类型。 It works fine in the .cshtml file, but when doing the same thing in a .cs file it can't find the type. .cshtml文件中它可以正常工作,但是在.cs文件中执行相同操作时,找不到类型。 I've tried adding the Using System.Web.Helpers but nothing happens. 我试过添加Using System.Web.Helpers但没有任何反应。

Any suggestions on how to fix it or whats wrong? 关于如何解决或有什么问题的任何建议?

The problem occours sometimes in WebMatrix 3 . WebMatrix 3有时会出现问题。 After restarting my pc it all worked again. 重新启动我的电脑后,所有这些又恢复了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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