Asp.net 4.0 project server tag is not a well-formed compilation error

I upgraded projects to .net framework 4.0 (VS 2010), and I get a lot of "Server tag badly formed."

for example, validationgroup = "Validation does not have a closing double quote.
ValidationExpression = "[^ \" \ '] "- I had to convert this to ValidationExpression =" [^ & quot; '] "to make it work.

We have many dozens of web projects, and I can go through all this and fix these things. This works fine with VS 2008 (framework 2.0), so I was wondering if there are any settings to disable this check when compiling the project?

I tried disabling HTML checking (Tools -> Options -> Text Editor -> HTML -> Unchecked show errors), although it shows me this error.

Any help would be appreciated.

+4
source share
1 answer

The page analyzer has become more rigorous in ASP.NET 4.0. You can view information about this and other โ€œhacked changesโ€ that have occurred in the latest version on the ASP.NET 4 Breaking Changes page.

+2
source

Source: https://habr.com/ru/post/1403981/


All Articles