发布代码时代码的第一行出错 [英] Error on first line of a code while publishing the code

查看:91
本文介绍了发布代码时代码的第一行出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1) Error parsing attribute 'title': Type 'System.Web.UI.Page' does not have a public property named 'title'.
2) Error 3 Error parsing attribute 'masterpagefile': Type 'System.Web.UI.Page' does not have a public property named 'masterpagefile'.
3) Error 4 Error parsing attribute 'enableeventvalidation': Type 'System.Web.UI.Page' does not have a public property named 'enableeventvalidation'. 





我的尝试:



重写MasterPageFile =选定路径然后检查指向4.0的目标框架,这是谷歌上没有解决我的查询的解决方案



What I have tried:

Rewritten MasterPageFile="selected path" then Checked the Target Framework that is pointing to 4.0 that was the solution on google that does not solved my query

推荐答案

参见 Page Class(System.Web.UI) [ ^ ]正确拼写页面属性。
See Page Class (System.Web.UI)[^] for correct spelling of Page properties.


这篇关于发布代码时代码的第一行出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆