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
Related Posts:
- What is a singleton in C#?
- C# Set collection?
- Why is Dictionary preferred over Hashtable in C#?
- Does anyone still use [goto] in C# and if so why?
- How does the “Using” statement translate from C# to VB?
- What is the best way to parse html in C#? [closed]
- Best C# API to create PDF
- C# cannot convert method to non delegate type
- What is the difference between const and readonly in C#?
- Pass Method as Parameter using C#
- ArrayList vs List<> in C#
- What’s the @ in front of a string in C#?
- How to solve ‘…is a ‘type’, which is not valid in the given context’? (C#)
- Calling the base constructor in C#
- Task vs Thread differences
- Best way to repeat a character in C#
- How to empty a list in C#?
- How to open an Excel file in C#?
- What is a method group in C#?
- How do I save a stream to a file in C#?
- Print Pdf in C#
- Can a Byte[] Array be written to a file in C#?
- What is the difference between String and string in C#?
- Creating a List of Lists in C#
- C# int to byte[]
- .Net 4.8 Support for Windows 10 ends in 26 days?
- What is a NullReferenceException, and how do I fix it?
- How do I get a random YouTube video with the YouTube API?
- How can I convert String to Int?
- What is a NullReferenceException, and how do I fix it?
- What’s the difference between .NET Core, .NET Framework, and Xamarin?
- IOException: The process cannot access the file ‘file path’ because it is being used by another process
- No connection could be made because the target machine actively refused it?
- What does a lock statement do under the hood?
- Could not load file or assembly or one of its dependencies
- What is WCF? and what can it do?
- Priority queue in .Net
- What is the difference between int, Int16, Int32 and Int64?
- What is the purpose of nameof?
- How to open .dll files to see what is written inside?
- Convert Enum to String
- Windows .NET API / Windows 7 / Bluetooth communication with Intel Curie Arduino / Genuino 101
- Error 1053 the service did not respond to the start or control request in a timely fashion
- System.web.mvc missing
- Nullable object must have a value?
- Extension methods must be defined in a non-generic static class
- Metadata file ‘.dll’ could not be found
- “Error while trying to run project: Unable to start program”. Can run program only once. Then VS needs restart
- How to resolve this System.IO.FileNotFoundException
- What is clr.dll on .Net framework and what does it do?
- Associating enums with strings in C#
- How do I declare a DefaultValue attribute whose value is an array of strings?
- How to resolve this System.IO.FileNotFoundException
- Why does .Net Socket.Disconnect take two minutes?
- Extension methods must be defined in a non-generic static class
- ClickOnce runtime DFSVC.EXE
- “An attempt was made to load a program with an incorrect format” even when the platforms are the same
- How can I get the application’s path in a .NET console application?
- How do I create a Shared Code project (.shproj)
- SQL Connection Error: System.Data.SqlClient.SqlException (0x80131904)
- Multiple file-extensions searchPattern for System.IO.Directory.GetFiles
- Could not establish trust relationship for SSL/TLS secure channel — SOAP
- Unable to read data from the transport connection : An existing connection was forcibly closed by the remote host
- The remote server returned an error: (407) Proxy Authentication Required
- How to open a new form from another form
- Nuget connection attempt failed “Unable to load the service index for source”
- Cannot access a disposed object – How to fix?
- Deep cloning objects
- Regular expression “^[a-zA-Z]” or “[^a-zA-Z]”
- Could not load file or assembly App_Web_ * with a precompiled ASP.NET website project
- .NET graph library around?
- An object reference is required to access a non-static member
- How to solve “Could not establish trust relationship for the SSL/TLS secure channel with authority”
- XmlSerializer – There was an error reflecting type
- What is The difference between ListBox and ListView
- Substring index and length must refer to a location within the string
- Run Command Prompt Commands
- SQLite equivalent to ISNULL(), NVL(), IFNULL() or COALESCE()
- Could not establish secure channel for SSL/TLS with authority ‘*’
- windows could not start service on local computer error 5 access is denied
- Visual Studio keeps crashing
- How can I implement static methods on an interface?
- How do I exit a WPF application programmatically?
- .NET String.Format() to add commas in thousands place for a number
- Entity Framework vs LINQ to SQL
- What is a quick way to force CRLF in C# / .NET?
- How to enable assembly bind failure logging (Fusion) in .NET
- How to make inline functions in C#
- .NET Framework 4.6 or a later update is already installed on this computer
- How to create a new object instance from a Type
- Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154
- Using FolderBrowserDialog in WPF application
- Is there an equivalent to the C# “var” keyword in C++/CLI?
- When should I use a List vs a LinkedList
- What is a “first chance exception”?
- .NET Core vs Mono
- Iif equivalent in C#
- LINQ query on a DataTable
- A certificate chain could not be built to a trusted root authority
- How to enumerate an enum