I need to create a log file containing HTML (tables, etc). It seems that HtmlTextWriter is not supported in plain winforms applications, it is intended for ASP.NET. Is this in fact the case, and if so, what classes are available to generate HTML? I was trying to use FileStream/StreamWriter but it chokes on “illegal characters”.
Share
HtmlTextWriteris available to WinForms apps, just not by default. You have to add a reference toSystem.Webin the WinForms project to be able to use it.