zoukankan      html  css  js  c++  java
  • ERROR: “System.Web.Mvc.Controller.File(string, string, string)”是一个“方法”

    ERROR: “System.Web.Mvc.Controller.File(string, string, string)”是一个“方法”,这在给定的上下文中无效


    这是一个与Controller.File方法和System.IO.File类名称冲突的问题,只要完整输入明确类名就可解决。

    比如:File.ReadAllText(file);   》改为》  System.IO.File.ReadAllText(file);

  • 相关阅读:
    UI
    OC之block
    web前端开发学习
    OC面向对象下之文件
    UIButton
    视图
    frame和bounds
    UIView
    UIWindow
    Hello friends!
  • 原文地址:https://www.cnblogs.com/craig/p/1659456.html
Copyright © 2011-2022 走看看