Skip to content

Instantly share code, notes, and snippets.

@Vannevelj
Created November 12, 2016 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vannevelj/3a291a4930f7e8bd780ac598aa5987d3 to your computer and use it in GitHub Desktop.
Save Vannevelj/3a291a4930f7e8bd780ac598aa5987d3 to your computer and use it in GitHub Desktop.
Severity Code Description Detail Description
Warning CS8032 An instance of analyzer VSDiagnostics.Diagnostics.Exceptions.ExceptionThrownFromProhibitedContext.ExceptionThrownFromProhibitedContextAnalyzer cannot be created from C:\Users\jeroen.vannevel\Documents\Github\VSDiagnostics\VSDiagnostics\packages\VSDiagnostics.1.9.4\analyzers\dotnet\cs\VSDiagnostics.dll: Could not load type 'VSDiagnostics.Diagnostics.Exceptions.ExceptionThrownFromProhibitedContext.ExceptionThrownFromProhibitedContextAnalyzer' from assembly 'VSDiagnostics, Version=1.9.2.0, Culture=neutral, PublicKeyToken=null'.. System.TypeLoadException: Could not load type 'VSDiagnostics.Diagnostics.Exceptions.ExceptionThrownFromProhibitedContext.ExceptionThrownFromProhibitedContextAnalyzer' from assembly 'VSDiagnostics, Version=1.9.2.0, Culture=neutral, PublicKeyToken=null'.
at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerFileReference.GetAnalyzersForTypeNames(Assembly analyzerAssembly, IEnumerable`1 analyzerTypeNames, Boolean& reportedError)
-----
@Logerfo
Copy link

Logerfo commented Jul 10, 2017

Did you manage to fix this? I'm having the same issue with my analyzer.

@Logerfo
Copy link

Logerfo commented Jul 10, 2017

Nevermind, this is not happening anymore (and I don't know why either).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment