{"action":"created","issue":{"url":"https://api.github.com/repos/SonarSource/sonar-csharp/issues/1876","repository_url":"https://api.github.com/repos/SonarSource/sonar-csharp","labels_url":"https://api.github.com/repos/SonarSource/sonar-csharp/issues/1876/labels{/name}","comments_url":"https://api.github.com/repos/SonarSource/sonar-csharp/issues/1876/comments","events_url":"https://api.github.com/repos/SonarSource/sonar-csharp/issues/1876/events","html_url":"https://github.com/SonarSource/sonar-csharp/issues/1876","id":363062737,"node_id":"MDU6SXNzdWUzNjMwNjI3Mzc=","number":1876,"title":"Update install.ps1 to support newer Visual Studio 2017 versions","user":{"login":"valhristov","id":23195959,"node_id":"MDQ6VXNlcjIzMTk1OTU5","avatar_url":"https://avatars2.githubusercontent.com/u/23195959?v=4","gravatar_id":"","url":"https://api.github.com/users/valhristov","html_url":"https://github.com/valhristov","followers_url":"https://api.github.com/users/valhristov/followers","following_url":"https://api.github.com/users/valhristov/following{/other_user}","gists_url":"https://api.github.com/users/valhristov/gists{/gist_id}","starred_url":"https://api.github.com/users/valhristov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhristov/subscriptions","organizations_url":"https://api.github.com/users/valhristov/orgs","repos_url":"https://api.github.com/users/valhristov/repos","events_url":"https://api.github.com/users/valhristov/events{/privacy}","received_events_url":"https://api.github.com/users/valhristov/received_events","type":"User","site_admin":false},"labels":[{"id":593799508,"node_id":"MDU6TGFiZWw1OTM3OTk1MDg=","url":"https://api.github.com/repos/SonarSource/sonar-csharp/labels/Area:%20NuGet","name":"Area: NuGet","color":"5319e7","default":false},{"id":572781869,"node_id":"MDU6TGFiZWw1NzI3ODE4Njk=","url":"https://api.github.com/repos/SonarSource/sonar-csharp/labels/Priority:%20Blocker","name":"Priority: Blocker","color":"e11d21","default":false},{"id":722670944,"node_id":"MDU6TGFiZWw3MjI2NzA5NDQ=","url":"https://api.github.com/repos/SonarSource/sonar-csharp/labels/Status:%20Cannot%20reproduce","name":"Status: Cannot reproduce","color":"808080","default":false},{"id":572764976,"node_id":"MDU6TGFiZWw1NzI3NjQ5NzY=","url":"https://api.github.com/repos/SonarSource/sonar-csharp/labels/Type:%20Bug","name":"Type: Bug","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-24T09:03:17Z","updated_at":"2018-09-24T12:35:25Z","closed_at":"2018-09-24T12:35:25Z","author_association":"CONTRIBUTOR","body":"### Description\r\n\r\nIt seems that Visual Studio 2017 version 15.8.5 changed the project system to support adding analyzers and `install.ps1` and `uninstall.ps1` should take that into account. The new analyzer projects now contain the following code, that should be incorporated in our scripts:\r\n```\r\nif($project.Object.SupportsPackageDependencyResolution)\r\n{\r\n    if($project.Object.SupportsPackageDependencyResolution())\r\n    {\r\n        # Do not install analyzers via install.ps1, instead let the project system handle it.\r\n        return\r\n    }\r\n}\r\n```\r\n\r\n### Related information\r\n\r\n* SonarC# Version 7.5\r\n* Visual Studio Version 15.8.5\r\n"},"comment":{"url":"https://api.github.com/repos/SonarSource/sonar-csharp/issues/comments/423959447","html_url":"https://github.com/SonarSource/sonar-csharp/issues/1876#issuecomment-423959447","issue_url":"https://api.github.com/repos/SonarSource/sonar-csharp/issues/1876","id":423959447,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzk1OTQ0Nw==","user":{"login":"Evangelink","id":11340282,"node_id":"MDQ6VXNlcjExMzQwMjgy","avatar_url":"https://avatars0.githubusercontent.com/u/11340282?v=4","gravatar_id":"","url":"https://api.github.com/users/Evangelink","html_url":"https://github.com/Evangelink","followers_url":"https://api.github.com/users/Evangelink/followers","following_url":"https://api.github.com/users/Evangelink/following{/other_user}","gists_url":"https://api.github.com/users/Evangelink/gists{/gist_id}","starred_url":"https://api.github.com/users/Evangelink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evangelink/subscriptions","organizations_url":"https://api.github.com/users/Evangelink/orgs","repos_url":"https://api.github.com/users/Evangelink/repos","events_url":"https://api.github.com/users/Evangelink/events{/privacy}","received_events_url":"https://api.github.com/users/Evangelink/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T12:35:25Z","updated_at":"2018-09-24T12:35:25Z","author_association":"CONTRIBUTOR","body":"Cannot reproduce."}}
{"actor":{"display_login":"Evangelink"}}