{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/274","labels_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/274/comments","events_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/274/events","html_url":"https://github.com/dotnet/roslyn-analyzers/issues/274","id":101548820,"number":274,"title":"Can't run roslyn-analyzers in VS or via xUnit","user":{"login":"JoshVarty","id":1249087,"avatar_url":"https://avatars.githubusercontent.com/u/1249087?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshVarty","html_url":"https://github.com/JoshVarty","followers_url":"https://api.github.com/users/JoshVarty/followers","following_url":"https://api.github.com/users/JoshVarty/following{/other_user}","gists_url":"https://api.github.com/users/JoshVarty/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshVarty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshVarty/subscriptions","organizations_url":"https://api.github.com/users/JoshVarty/orgs","repos_url":"https://api.github.com/users/JoshVarty/repos","events_url":"https://api.github.com/users/JoshVarty/events{/privacy}","received_events_url":"https://api.github.com/users/JoshVarty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/labels/Area-Infrastructure","name":"Area-Infrastructure","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/labels/Up%20for%20Grabs","name":"Up for Grabs","color":"90EE90"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/milestones/2","html_url":"https://github.com/dotnet/roslyn-analyzers/milestones/Unknown","labels_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/milestones/2/labels","id":1284517,"number":2,"title":"Unknown","description":"","creator":{"login":"srivatsn","id":20570,"avatar_url":"https://avatars.githubusercontent.com/u/20570?v=3","gravatar_id":"","url":"https://api.github.com/users/srivatsn","html_url":"https://github.com/srivatsn","followers_url":"https://api.github.com/users/srivatsn/followers","following_url":"https://api.github.com/users/srivatsn/following{/other_user}","gists_url":"https://api.github.com/users/srivatsn/gists{/gist_id}","starred_url":"https://api.github.com/users/srivatsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srivatsn/subscriptions","organizations_url":"https://api.github.com/users/srivatsn/orgs","repos_url":"https://api.github.com/users/srivatsn/repos","events_url":"https://api.github.com/users/srivatsn/events{/privacy}","received_events_url":"https://api.github.com/users/srivatsn/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2015-09-01T17:26:26Z","updated_at":"2015-09-01T18:05:45Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-08-18T01:55:47Z","updated_at":"2015-09-01T18:06:23Z","closed_at":null,"body":"I've been working on #215 but I'm having some trouble testing.\r\n\r\nI can build fine, but when I run and deploy to Visual Studio I get `FileNotFoundExceptions` in  `ActivityLog.xml`.\r\n\r\nHere's the stack trace it includes:\r\n\r\n```\r\nSystem.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.CodeAnalysis.Workspaces, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos; or one of its dependencies. The system cannot find the file specified.&\r\nFile name: &apos;Microsoft.CodeAnalysis.Workspaces, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos;\r\n at Microsoft.CodeAnalysis.Editor.Implementation.Interactive.InertClassifierProvider.InertClassifier.GetClassificationSpans(SnapshotSpan span)\r\n at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTagger.<GetTags>d__5.MoveNext()\r\n at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__38.MoveNext()\r\n \r\n === Pre-bind state information ===&\r\nLOG: DisplayName = Microsoft.CodeAnalysis.Workspaces, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#x000A; (Fully-specified)&\r\nLOG: Appbase = file:///C:/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/IDE/&\r\nLOG: Initial PrivatePath = NULL&\r\nCalling assembly : Roslyn.InteractiveEditorFeatures, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35.&\r\n===&\r\nLOG: This bind starts in LoadFrom load context.&\r\nWRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().&\r\nLOG: Using application configuration file: C:\\Users\\Student\\AppData\\Local\\Microsoft\\VisualStudio\\14.0RoslynDev\\devenv.exe.config&\r\nLOG: Using host configuration file: &\r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\config\\machine.config.&\r\nLOG: Post-policy reference: Microsoft.CodeAnalysis.Workspaces, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35&\r\nLOG: The same bind was seen before, and was failed with hr = 0x80070002.&\r\n```\r\n\r\nI think it's related to strong naming, but I'm not sure how to move forward.\r\n\r\nI figured I'd just write tests first, but after installing `xunit.runner.visualstudio` and running the tests, I get another strong name exception:\r\n\r\n\r\n```\r\nTest Name:\tMicrosoft.CodeAnalysis.UnitTests.MetaAnalyzers.IgnoredReturnValueAnalyzerRuleTests.CSharp_VerifyDiagnostic\r\nTest FullName:\tMicrosoft.CodeAnalysis.UnitTests.MetaAnalyzers.IgnoredReturnValueAnalyzerRuleTests.CSharp_VerifyDiagnostic\r\nTest Source:\tC:\\Users\\Student\\Documents\\GitHub\\roslyn-analyzers\\src\\CodeAnalysis\\Test\\MetaAnalyzers\\IgnoredReturnValueAnalyzerRuleTests.cs : line 18\r\nTest Outcome:\tFailed\r\nTest Duration:\t0:00:12.179\r\n\r\nResult StackTrace:\t\r\nat Microsoft.CodeAnalysis.UnitTests.MetaAnalyzers.IgnoredReturnValueAnalyzerRuleTests.GetExpectedDiagnostic(String language, Int32 line, Int32 column, String analyzerTypeName, String missingLanguageName)\r\n   at Microsoft.CodeAnalysis.UnitTests.MetaAnalyzers.IgnoredReturnValueAnalyzerRuleTests.GetCSharpExpectedDiagnostic(Int32 line, Int32 column, String analyzerTypeName, String missingLanguageName) in C:\\Users\\Student\\Documents\\GitHub\\roslyn-analyzers\\src\\CodeAnalysis\\Test\\MetaAnalyzers\\IgnoredReturnValueAnalyzerRuleTests.cs:line 46\r\n   at Microsoft.CodeAnalysis.UnitTests.MetaAnalyzers.IgnoredReturnValueAnalyzerRuleTests.CSharp_VerifyDiagnostic() in C:\\Users\\Student\\Documents\\GitHub\\roslyn-analyzers\\src\\CodeAnalysis\\Test\\MetaAnalyzers\\IgnoredReturnValueAnalyzerRuleTests.cs:line 40\r\nResult Message:\tSystem.IO.FileLoadException : Could not load file or assembly 'Microsoft.CodeAnalysis.Analyzers, Version=1.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)\r\n\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1249087/9320667/96c4abc0-452a-11e5-846c-ebbc6f572afb.png)\r\n\r\nWhat's the best way for me to move forward?"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/comments/136814358","html_url":"https://github.com/dotnet/roslyn-analyzers/issues/274#issuecomment-136814358","issue_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/274","id":136814358,"user":{"login":"srivatsn","id":20570,"avatar_url":"https://avatars.githubusercontent.com/u/20570?v=3","gravatar_id":"","url":"https://api.github.com/users/srivatsn","html_url":"https://github.com/srivatsn","followers_url":"https://api.github.com/users/srivatsn/followers","following_url":"https://api.github.com/users/srivatsn/following{/other_user}","gists_url":"https://api.github.com/users/srivatsn/gists{/gist_id}","starred_url":"https://api.github.com/users/srivatsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srivatsn/subscriptions","organizations_url":"https://api.github.com/users/srivatsn/orgs","repos_url":"https://api.github.com/users/srivatsn/repos","events_url":"https://api.github.com/users/srivatsn/events{/privacy}","received_events_url":"https://api.github.com/users/srivatsn/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T18:06:23Z","updated_at":"2015-09-01T18:06:23Z","body":"@tmeschter do we need to update to that version of xunit that has the fix for the issue that you mention?"}}