{"action":"created","issue":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2164","repository_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2164/labels{/name}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2164/comments","events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2164/events","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2164","id":163529514,"number":2164,"title":"Analyzers throw TypeLoadException for \"Newtonsoft.Json.JsonException\"","user":{"login":"RalfKoban","id":10896157,"avatar_url":"https://avatars3.githubusercontent.com/u/10896157?v=3","gravatar_id":"","url":"https://api.github.com/users/RalfKoban","html_url":"https://github.com/RalfKoban","followers_url":"https://api.github.com/users/RalfKoban/followers","following_url":"https://api.github.com/users/RalfKoban/following{/other_user}","gists_url":"https://api.github.com/users/RalfKoban/gists{/gist_id}","starred_url":"https://api.github.com/users/RalfKoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalfKoban/subscriptions","organizations_url":"https://api.github.com/users/RalfKoban/orgs","repos_url":"https://api.github.com/users/RalfKoban/repos","events_url":"https://api.github.com/users/RalfKoban/events{/privacy}","received_events_url":"https://api.github.com/users/RalfKoban/received_events","type":"User","site_admin":false},"labels":[{"id":148730597,"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-02T18:02:44Z","updated_at":"2017-05-15T09:27:10Z","closed_at":null,"body":"Hello,\n\nwhen I compile my code using VS 2015 Update 3, I suddenly get following exception thrown multiple times by the StyleCop analyzers.\n\n```\nSeverity    Code    Description Project File    Line    Suppression State   Detail Description\nError   AD0001  Analyzer 'StyleCop.Analyzers.DocumentationRules.SA1600ElementsMustBeDocumented' threw an exception of type 'System.TypeLoadException' with message 'Der Typ \"Newtonsoft.Json.JsonException\" in der Assembly \"Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed\" konnte nicht geladen werden.'. MiKo Aspects        1   Active  Analyzer 'StyleCop.Analyzers.DocumentationRules.SA1600ElementsMustBeDocumented' threw the following exception:\n'Exception occurred with following context:\nCompilation: MiKoSolutions.Aspects\nSyntaxTree: H:\\Projekte\\MiKo Solutions\\MiKo Aspects\\trunk\\Source\\MiKo Aspects\\Internals\\NDependMarkers\\ImmutableAttribute.cs\nSyntaxNode: [Pure] [IsNotDeadCode] internal ... [ConstructorDeclarationSyntax]@[556..648) (17,8)-(21,9)\n\nSystem.TypeLoadException: Der Typ \"Newtonsoft.Json.JsonException\" in der Assembly \"Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed\" konnte nicht geladen werden.\n   at StyleCop.Analyzers.SettingsHelper.GetStyleCopSettings(ImmutableArray`1 additionalFiles, CancellationToken cancellationToken)\n   at StyleCop.Analyzers.AnalyzerExtensions.<>c__DisplayClass9_0`1.<RegisterSyntaxNodeActionHonorExclusions>b__0(SyntaxNodeAnalysisContext c)\n   at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__DisplayClass42_1`1.<ExecuteSyntaxNodeAction>b__1()\n   at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock(DiagnosticAnalyzer analyzer, Action analyze, Nullable`1 info)\n```\n\nBest regards,\nRalf\n"},"comment":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/comments/301423422","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2164#issuecomment-301423422","issue_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2164","id":301423422,"user":{"login":"SilverioMiranda","id":1939153,"avatar_url":"https://avatars3.githubusercontent.com/u/1939153?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverioMiranda","html_url":"https://github.com/SilverioMiranda","followers_url":"https://api.github.com/users/SilverioMiranda/followers","following_url":"https://api.github.com/users/SilverioMiranda/following{/other_user}","gists_url":"https://api.github.com/users/SilverioMiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverioMiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverioMiranda/subscriptions","organizations_url":"https://api.github.com/users/SilverioMiranda/orgs","repos_url":"https://api.github.com/users/SilverioMiranda/repos","events_url":"https://api.github.com/users/SilverioMiranda/events{/privacy}","received_events_url":"https://api.github.com/users/SilverioMiranda/received_events","type":"User","site_admin":false},"created_at":"2017-05-15T09:27:10Z","updated_at":"2017-05-15T09:27:10Z","body":"I have the same issue here\r\nI have a small project and i get 3000+ errors of this type\r\n![image](https://cloud.githubusercontent.com/assets/1939153/26051101/7f90df66-3937-11e7-8ee9-a8e944182051.png)\r\n"}}
{"actor":{"display_login":"SilverioMiranda"}}