You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried with VS Extension, and with Nuget Package, but a have the same error:
Visual Studio Community 2022 - Version 17.6.3
`Advertencia AD0001 El analizador "SecurityCodeScan.Analyzers.XxeDiagnosticAnalyzerVisualBasic" produjo una excepción de tipo "System.TypeInitializationException" con el mensaje "The type initializer for 'SecurityCodeScan.Analyzers.XxeDiagnosticAnalyzer' threw an exception.".
System.TypeInitializationException: The type initializer for 'SecurityCodeScan.Analyzers.XxeDiagnosticAnalyzer' threw an exception.
---> **System.IO.FileNotFoundException: Could not load file or assembly 'YamlDotNet, Version=11.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e'.** El sistema no puede encontrar el archivo especificado.
File name: 'YamlDotNet, Version=11.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e'
at SecurityCodeScan.Analyzers.Locale.YamlResourceManager.Load()
at SecurityCodeScan.Analyzers.Locale.LocaleUtil.<>c.<.cctor>b__8_0()
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
at System.Lazy`1.CreateValue()
at SecurityCodeScan.Analyzers.Locale.LocaleUtil.GetLocalString(String id)
at SecurityCodeScan.Analyzers.Locale.LocaleUtil.GetDescriptor(String id, String titleId, String descriptionId, DiagnosticSeverity severity, Boolean isEnabledByDefault, String[] args)
at SecurityCodeScan.Analyzers.XxeDiagnosticAnalyzer..cctor()
--- End of inner exception stack trace ---
at SecurityCodeScan.Analyzers.XxeDiagnosticAnalyzer.get_SupportedDiagnostics()
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerManager.AnalyzerExecutionContext.<>c__DisplayClass20_0.<ComputeDiagnosticDescriptors_NoLock>b__0(Object _)
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info)
-----
System.IO.FileNotFoundException: Could not load file or assembly 'YamlDotNet, Version=11.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e'. El sistema no puede encontrar el archivo especificado.
File name: 'YamlDotNet, Version=11.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e'
at SecurityCodeScan.Analyzers.Locale.YamlResourceManager.Load()
at SecurityCodeScan.Analyzers.Locale.LocaleUtil.<>c.<.cctor>b__8_0()
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
at System.Lazy`1.CreateValue()
at SecurityCodeScan.Analyzers.Locale.LocaleUtil.GetLocalString(String id)
at SecurityCodeScan.Analyzers.Locale.LocaleUtil.GetDescriptor(String id, String titleId, String descriptionId, DiagnosticSeverity severity, Boolean isEnabledByDefault, String[] args)
at SecurityCodeScan.Analyzers.XxeDiagnosticAnalyzer..cctor()
-----`
Same with different kind of projects (NET CORE 6, NET Framework 4.8x)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have tried with VS Extension, and with Nuget Package, but a have the same error:
Visual Studio Community 2022 - Version 17.6.3
Same with different kind of projects (NET CORE 6, NET Framework 4.8x)
Beta Was this translation helpful? Give feedback.
All reactions