Tuesday, September 18, 2012

Look what VS 2012 did to my VS 2010!

VS 2012 is useless to me for my work project.
What compiles fine in VS 2008 and VS 2010 throws up errors:

error CS1502: The best overloaded method match for 'System.Web.UI.HtmlControls.HtmlTableRowCollection.Add(System.Web.UI.HtmlControls.HtmlTableRow)' has some invalid arguments

Oh and now getting the same error in VS 2010 where it was working before VS 2012 install!

Searching the online forums several developers having same issue.  Seems that some attributes and elements within the table element have to be removed in order for the project to compile again.

I've seeing a lot of "remove the runat='server' as working solutions.  This is unacceptable.  The tables are refreanced on server side.  This is a huge project with several developers writing code.

I uninstalled .NET runtime 4.5 and now both VS 2012 and VS 2010 are hosed.

Now stuck with using VS 2008 until I can hopefully repair the VS 2012 install so I can at least go back to using VS 2010.




No comments: