Another option is to simply use the Application log accessible via the Windows Event Viewer. The .Net error will be recorded to the Application log.
You can see these events here:
Event Viewer (Local) > Windows Logs > Application
More Related Contents:
- Task vs Thread differences [duplicate]
- How do I abort/cancel TPL Tasks?
- Task continuation on UI thread
- What is the use for Task.FromResult in C#
- Waiting for async/await inside a task
- How can I prevent synchronous continuations on a Task?
- Benefits of using async and await keywords
- Can .NET Task instances go out of scope during run?
- Why use async and return await, when you can return Task directly?
- Should I worry about “This async method lacks ‘await’ operators and will run synchronously” warning
- is using an an `async` lambda with `Task.Run()` redundant?
- Task chaining (wait for the previous task to completed)
- caching the result from a [n async] factory method iff it doesn’t throw
- How can I run both of these methods ‘at the same time’ in .NET 4.5?
- How to remove all event handlers from an event
- Comparing double values in C#
- Is there an easy way to create ordinals in C#?
- Suspend Process in C#
- List vs BindingList Advantages/DisAdvantages
- How to call .NET methods from Excel VBA?
- Insert data using Entity Framework model
- How does Task become an int?
- How do I connect to a USB webcam in .NET? [closed]
- Expression of type ‘System.Int32’ cannot be used for return type ‘System.Object’
- Put WPF control into a Windows Forms Form?
- How to sort a dictionary by key
- Getting the path of the home directory in C#?
- BsonSerializationException when serializing a Dictionary to BSON
- How do I transform appsettings.json in a .NET Core MVC project?
- RichTextBox Newline Conversion?