A sample demonstrating how to invoke Stackdriver Error Reporting from C#.
-
Follow the instructions in the root README.
-
Enable APIs for your project. Click here to visit Cloud Platform Console and enable the Stackdriver Error Reporting API.
-
Open ErrorReporting.sln with Microsoft Visual Studio version 2012 or later.
-
Build the Solution.
-
From the command line, set environment variables and run:
C:\...\bin\Debug> set GOOGLE_PROJECT_ID=your project id displayed on the Google Developers Console. C:\...\bin\Debug> ErrorReporting
-
View your error in the Cloud Console UI
- See CONTRIBUTING.md
- See LICENSE