payload: {"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/4333","repository_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/4333/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/4333/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/4333/events","html_url":"https://github.com/MicrosoftDocs/visualstudio-docs/issues/4333","id":523694667,"node_id":"MDU6SXNzdWU1MjM2OTQ2Njc=","number":4333,"title":"Explain how to make msbuild respect errors for IDExxxx diagnostics","user":{"login":"binki","id":82626,"node_id":"MDQ6VXNlcjgyNjI2","avatar_url":"https://avatars2.githubusercontent.com/u/82626?v=4","gravatar_id":"","url":"https://api.github.com/users/binki","html_url":"https://github.com/binki","followers_url":"https://api.github.com/users/binki/followers","following_url":"https://api.github.com/users/binki/following{/other_user}","gists_url":"https://api.github.com/users/binki/gists{/gist_id}","starred_url":"https://api.github.com/users/binki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binki/subscriptions","organizations_url":"https://api.github.com/users/binki/orgs","repos_url":"https://api.github.com/users/binki/repos","events_url":"https://api.github.com/users/binki/events{/privacy}","received_events_url":"https://api.github.com/users/binki/received_events","type":"User","site_admin":false},"labels":[{"id":1454635299,"node_id":"MDU6TGFiZWwxNDU0NjM1Mjk5","url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/labels/Pri1","name":"Pri1","color":"ff8c00","default":false,"description":"High priority; top 25% of page views, for example."},{"id":725046939,"node_id":"MDU6TGFiZWw3MjUwNDY5Mzk=","url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/labels/doc-bug","name":"doc-bug","color":"84edbc","default":false,"description":"Feedback about errors, omissions, or confusing or conflicting text in an article."},{"id":1289093566,"node_id":"MDU6TGFiZWwxMjg5MDkzNTY2","url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/labels/visual-studio-windows/prod","name":"visual-studio-windows/prod","color":"ededed","default":false,"description":null},{"id":1340052018,"node_id":"MDU6TGFiZWwxMzQwMDUyMDE4","url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/labels/vs-ide-code-analysis/tech","name":"vs-ide-code-analysis/tech","color":"ededed","default":false,"description":null}],"state":"open","locked":false,"assignee":null,"assignees":[{"login":"Mikejo5000","id":11948536,"node_id":"MDQ6VXNlcjExOTQ4NTM2","avatar_url":"https://avatars1.githubusercontent.com/u/11948536?v=4","gravatar_id":"","url":"https://api.github.com/users/Mikejo5000","html_url":"https://github.com/Mikejo5000","followers_url":"https://api.github.com/users/Mikejo5000/followers","following_url":"https://api.github.com/users/Mikejo5000/following{/other_user}","gists_url":"https://api.github.com/users/Mikejo5000/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikejo5000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikejo5000/subscriptions","organizations_url":"https://api.github.com/users/Mikejo5000/orgs","repos_url":"https://api.github.com/users/Mikejo5000/repos","events_url":"https://api.github.com/users/Mikejo5000/events{/privacy}","received_events_url":"https://api.github.com/users/Mikejo5000/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2019-11-15T21:22:30Z","updated_at":"2019-12-18T19:16:38Z","closed_at":null,"author_association":"NONE","body":"I tried putting in my `.editorconfig`:\n\n```\n[*.{cs,vb}]\ndotnet_diagnostic.IDE0067.severity = error\n```\n\nIn the IDE in the Error List window, it appears as an error. However, when I run `msbuild /r/ m`, the build succeeds (even if I remove `bin` and `obj` first). How do I instruct `msbuild` to properly fail in this situation?\n\nI think this docs page should explain why the behavior I see is expected behavior and also describe how to get `msbuild` to fail when setting the severity to `error`.\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: c27ec225-8fc2-3578-05a0-a3e56e1c6510\n* Version Independent ID: 186d9286-10db-6135-b542-81b1bf71575a\n* Content: [Analyzer rule severity and suppression - Visual Studio](https://docs.microsoft.com/en-us/visualstudio/code-quality/use-roslyn-analyzers?view=vs-2019#set-rule-severity-in-an-editorconfig-file)\n* Content Source: [docs/code-quality/use-roslyn-analyzers.md](https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/docs/code-quality/use-roslyn-analyzers.md)\n* Product: **visual-studio-windows**\n* Technology: **vs-ide-code-analysis**\n* GitHub Login: @jillre\n* Microsoft Alias: **jillfra**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/comments/567171633","html_url":"https://github.com/MicrosoftDocs/visualstudio-docs/issues/4333#issuecomment-567171633","issue_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/4333","id":567171633,"node_id":"MDEyOklzc3VlQ29tbWVudDU2NzE3MTYzMw==","user":{"login":"binki","id":82626,"node_id":"MDQ6VXNlcjgyNjI2","avatar_url":"https://avatars2.githubusercontent.com/u/82626?v=4","gravatar_id":"","url":"https://api.github.com/users/binki","html_url":"https://github.com/binki","followers_url":"https://api.github.com/users/binki/followers","following_url":"https://api.github.com/users/binki/following{/other_user}","gists_url":"https://api.github.com/users/binki/gists{/gist_id}","starred_url":"https://api.github.com/users/binki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binki/subscriptions","organizations_url":"https://api.github.com/users/binki/orgs","repos_url":"https://api.github.com/users/binki/repos","events_url":"https://api.github.com/users/binki/events{/privacy}","received_events_url":"https://api.github.com/users/binki/received_events","type":"User","site_admin":false},"created_at":"2019-12-18T19:16:38Z","updated_at":"2019-12-18T19:16:38Z","author_association":"NONE","body":"@Mikejo5000 I am using 16.4.2 currently. When I filed this issue, I am not sure what version I was using, but I normally stay on latest. I know that I was able to get the diagnostics to appear as errors in the IDE but not via MSBuild.\r\n\r\nThe docs I filed this issue against claim that setting the diagnostic severity to error will cause a command line build time failure. I was hoping the docs could be expanded to explain how to get that to work if it were really possible. From @mavasani’s remarks, it sounds like there are plans to make this possible but that it isn’t currently possible."}}
other: {"actor":{"display_login":"binki"}}