码迷,mamicode.com
首页 > 其他好文 > 详细

011. 解决VS2015中CS1528: Expected ; or = (cannot specify constructor arguments in declaration)

时间:2017-02-13 00:13:45      阅读:395      评论:0      收藏:0      [点我收藏+]

标签:family   tab   解决方案   title   head   table   line   cto   exp   

编译器错误消息: CS1528: Expected ; or = (cannot specify constructor arguments in declaration)

源错误:

 
行 94:             #line default
行 95:             #line hidden
行 96: BeginContext("~/Views/Home/Index.cshtml", 231, 32, true);

解决方案:

@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div>
       @( ViewBag.mvcFirst )
    </div>
</body>
</html>

 

011. 解决VS2015中CS1528: Expected ; or = (cannot specify constructor arguments in declaration)

标签:family   tab   解决方案   title   head   table   line   cto   exp   

原文地址:http://www.cnblogs.com/wxylog/p/6392064.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!