{"id":4834,"date":"2007-09-19T23:34:00","date_gmt":"2007-09-19T23:34:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2007\/09\/19\/new-vs2008-feature-downgrade-html-css-and-jscript-errors-to-warnings\/"},"modified":"2007-09-19T23:34:00","modified_gmt":"2007-09-19T23:34:00","slug":"new-vs2008-feature-downgrade-html-css-and-jscript-errors-to-warnings","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/new-vs2008-feature-downgrade-html-css-and-jscript-errors-to-warnings\/","title":{"rendered":"New VS2008 Feature: \u201cDowngrade\u201d HTML, CSS, and JScript Errors to Warnings"},"content":{"rendered":"<p><P>VS2005 introduced the ability to validate your markup and CSS for standards compliance alongside your code.&nbsp; It\u2019s a great feature, but it can be frustrating when you\u2019re looking for that one critical compilation error underneath a pile of validation errors.&nbsp; Well, we heard your feedback and added two new options in VS2008 (post-Beta 2): 1) \u201cdowngrade\u201d HTML\/CSS errors to warnings, 2) \u201cdowngrade\u201d JScript errors to warnings.<\/P>\n<P><STRONG>The Two New Options<\/STRONG><\/P>\n<P><IMG src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/ToolsOptions.png\" width=\"757\" height=\"438\"><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/ToolsOptions.png\"><\/A><\/P>\n<P><STRONG>The&nbsp;VS2005 Default Experience<\/STRONG><\/P>\n<P><IMG border=\"1\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/ValidationBefore.png\"><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/ValidationBefore.png\"><\/A><\/P>\n<P><STRONG>The VS2008 Default Experience<\/STRONG><\/P>\n<P><IMG border=\"1\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/ValidationAfter.png\"><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/ValidationAfter.png\"><\/A><\/P>\n<P>We hope this will separate the validation clutter way from what is stopping your build.&nbsp; You can visually distinguish the warnings from the errors in the text editor as the warnings use green squiggles.&nbsp; It\u2019s worthwhile to note that both options also (implicitly) \u201cdowngrade\u201d your warnings to messages.&nbsp; Messages will be displayed with no squiggles.&nbsp; Also note that, while the two options live underneath the \u201cHTML\u201d section, they will also affect your standalone CSS or JS files.&nbsp; Should you prefer the VS2005 approach of \u201ceverything\u201d as errors, un-checking the two options will bring you back to the exact same behavior you had before.<\/P>\n<P><STRONG>Jeff King<\/STRONG><BR>Program Manager<BR>Web Tools<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VS2005 introduced the ability to validate your markup and CSS for standards compliance alongside your code.&nbsp; It\u2019s a great feature, but it can be frustrating when you\u2019re looking for that one critical compilation error underneath a pile of validation errors.&nbsp; Well, we heard your feedback and added two new options in VS2008 (post-Beta 2): 1) [&hellip;]<\/p>\n","protected":false},"author":404,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[4,7279,31,7271,7261,7262,7277,7274,7273,147,7267,7268,7269],"class_list":["post-4834","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-net","tag-ajax","tag-asp-net","tag-css","tag-css-and-html","tag-development","tag-jeff-king","tag-jscript","tag-orcas","tag-visual-studio","tag-vwd","tag-web","tag-web-2-0"],"acf":[],"blog_post_summary":"<p>VS2005 introduced the ability to validate your markup and CSS for standards compliance alongside your code.&nbsp; It\u2019s a great feature, but it can be frustrating when you\u2019re looking for that one critical compilation error underneath a pile of validation errors.&nbsp; Well, we heard your feedback and added two new options in VS2008 (post-Beta 2): 1) [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=4834"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4834\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=4834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=4834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=4834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}