BugSplatDotNetStandard 2.1.3
See the version list below for details.
dotnet add package BugSplatDotNetStandard --version 2.1.3
NuGet\Install-Package BugSplatDotNetStandard -Version 2.1.3
<PackageReference Include="BugSplatDotNetStandard" Version="2.1.3" />
paket add BugSplatDotNetStandard --version 2.1.3
#r "nuget: BugSplatDotNetStandard, 2.1.3"
// Install BugSplatDotNetStandard as a Cake Addin #addin nuget:?package=BugSplatDotNetStandard&version=2.1.3 // Install BugSplatDotNetStandard as a Cake Tool #tool nuget:?package=BugSplatDotNetStandard&version=2.1.3
Introduction
BugSplatDotNetStandard allows you to capture and track exceptions on all platforms that support .NET Standard 2.0. This includes, .NET Core, Univeral Windows Platform, Mono and more! Before continuing with the tutorial please make sure you have completed the following checklist:
You can also view the MyUwpCrasher repo which contains a sample application with BugSplatDotNetStandard installed and configured to post exceptions to BugSplat.
Configuration
Install the BugSplatDotNetStandard NuGet package.
Install-Package BugSplatDotNetStandard
After you've installed the NuGet package, add a using statement for the BugSplatDotNetStandard
namespace.
using BugSplatDotNetStandard;
Create a new instance of BugSplat
providing it your database, application, and version. It's best to do this at the entry point of your application. Several defaults can be provided to BugSplat. You can provide default values for things such as description, email, key, user and file attachments.
var bugsplat = new BugSplat(database, application, version);
bugsplat.Attachments.Add(new FileInfo("/path/to/attachment.txt"));
bugsplat.Description = "the default description";
bugsplat.Email = "fred@bugsplat.com";
bugsplat.Key = "the key!";
bugsplat.User = "Fred";
The Post
method can be used to send Exception objects to BugSplat.
try
{
throw new Exception("BugSplat rocks!");
}
catch(Exception ex)
{
await bugsplat.Post(exception);
}
Additionally, Post
can be used to upload minidumps to BugSplat.
await bugsplat.Post(new FileInfo("/path/to/minidump.dmp"));
The default values for description, email, key and user can be overridden in the call to Post. Additional attachments can also be specified in the call to Post. Please note that the total size of the Post body and all attachments is limited to 20MB by default.
var options = new ExceptionPostOptions()
{
Description = "BugSplat rocks!",
Email = "fred@bugsplat.com",
User = "Fred",
Key = "the key!"
};
options.AdditionalAttachments.Add(new FileInfo("/path/to/attachment2.txt"));
await bugsplat.Post(ex, options);
Once you've generated an error, navigate to the BugSplat Dashboard and ensure you have to correct database selected in the dropdown menu. You should see a new crash report under the Recent Crashes section:
Click the link in the ID column to see details about the crash:
That’s it! Your application is now configured to post crash reports to BugSplat.
If you have any additional questions, feel free to email support or reach out via the chat in our web application.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- 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 |
---|---|---|
4.0.2 | 938 | 3/6/2024 |
4.0.1 | 510 | 2/29/2024 |
4.0.0 | 637 | 2/13/2024 |
3.2.1 | 2,780 | 3/2/2023 |
3.2.0 | 1,858 | 1/21/2023 |
3.1.1 | 1,830 | 11/29/2022 |
3.1.0 | 2,096 | 9/8/2022 |
3.0.1 | 3,128 | 5/11/2022 |
3.0.0 | 2,025 | 5/11/2022 |
2.1.3 | 2,542 | 1/12/2022 |
2.1.2 | 5,078 | 11/25/2021 |
2.1.1 | 4,606 | 11/25/2021 |
2.1.0 | 4,562 | 11/25/2021 |
2.0.7 | 2,230 | 10/14/2021 |
2.0.6 | 2,463 | 5/6/2021 |
2.0.5 | 2,137 | 5/5/2021 |
2.0.4 | 2,164 | 5/4/2021 |
2.0.3 | 2,220 | 5/1/2021 |
2.0.2 | 2,105 | 4/29/2021 |
2.0.1 | 2,130 | 4/29/2021 |
2.0.0 | 2,139 | 4/29/2021 |
1.0.1 | 3,080 | 4/4/2019 |
1.0.0 | 2,387 | 4/3/2019 |
Added support for uploading minidumps. Updated the public API surface to support various options.