OzCode.VisualStudioExtensionAnalyzers
1.6.6344.22888
dotnet add package OzCode.VisualStudioExtensionAnalyzers --version 1.6.6344.22888
NuGet\Install-Package OzCode.VisualStudioExtensionAnalyzers -Version 1.6.6344.22888
<PackageReference Include="OzCode.VisualStudioExtensionAnalyzers" Version="1.6.6344.22888"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add OzCode.VisualStudioExtensionAnalyzers --version 1.6.6344.22888
#r "nuget: OzCode.VisualStudioExtensionAnalyzers, 1.6.6344.22888"
// Install OzCode.VisualStudioExtensionAnalyzers as a Cake Addin #addin nuget:?package=OzCode.VisualStudioExtensionAnalyzers&version=1.6.6344.22888 // Install OzCode.VisualStudioExtensionAnalyzers as a Cake Tool #tool nuget:?package=OzCode.VisualStudioExtensionAnalyzers&version=1.6.6344.22888
This analyzer is meant to help Visual Studio extension authors make sure important exceptions are caught and properly reported to telemetry (i.e. an exception monitoring tool such as Raygun, Exceptionless, Application Insights, etc).
The analyzer adds a try..catch block and and a call Logger.LogException() in methods and constructors where there will dire consequences if an exception is thrown within.
This includes:
1) MEF ImportingConstructors, where an unhandled exception may prevent your extension from being properly MEF-composed and initialized.
2) Callbacks which implement Visual Studio SDK interfaces (e.g. IWpfTextViewCreationListener, or any interface defined under Microsoft.VisualStudio.X namespace), where an unhandled exception may pop up an annoying and cryptic MessageBox, which says "An exception has been encountered. This may be caused by an exception."
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.6.6344.22888 | 1,611 | 5/15/2017 |
1.6.6340.27716 | 1,056 | 5/11/2017 |