Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 安装VS2012后生成项目时出错_Asp.net_Visual Studio 2010_Visual Studio 2012 - Fatal编程技术网

Asp.net 安装VS2012后生成项目时出错

Asp.net 安装VS2012后生成项目时出错,asp.net,visual-studio-2010,visual-studio-2012,Asp.net,Visual Studio 2010,Visual Studio 2012,我刚刚在我的系统上安装了VS2012,并且已经安装了VS2010。我有一个在VS2010中制作的项目,它成功地构建了,但后来当我安装了VS2012时,它在构建时给出了一个错误。以下是错误: Error 430 The best overloaded method match for 'System.Web.UI.HtmlControls.HtmlTableRowCollection.Add(System.Web.UI.HtmlControls.HtmlTableRow)' has some

我刚刚在我的系统上安装了VS2012,并且已经安装了VS2010。我有一个在VS2010中制作的项目,它成功地构建了,但后来当我安装了VS2012时,它在构建时给出了一个错误。以下是错误:

Error   430 The best overloaded method match for 'System.Web.UI.HtmlControls.HtmlTableRowCollection.Add(System.Web.UI.HtmlControls.HtmlTableRow)' has some invalid arguments 
我在谷歌上搜索过,找到了一些解决这个问题的文章。他们所提到的,要么删除标签,要么从表标签中删除runat=“server”,以解决这个问题。我试过了,它对我有效

但现在我主要担心的是,我有100多个这样的页面,我不想从每一个页面上删除它。那么,有没有其他解决方案来解决这个问题呢。我的意思是说,我们可以在web.config或其他地方处理这个错误,这样我就不需要对每个页面都这样做了


如果你有任何想法,那么请建议我,你的建议将非常感谢。提前谢谢

下面的链接很好地解释了这个问题的解决方案

您可以为此问题应用MS发布的修补程序: