after updating my Visual Studio I got a problem. I have a Windows Forms application and used a console window for debugging. Now this Window does not show up anymore. Maybe my settings from earlier got lost after updating. This is what I have in my Main()
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
I did not change it after updating. I also tried to change the Output type from Windows Application to Console Application but it have not solved the problem. The method to debug with Debug.WriteLine() in outputline works but I would prefer the variant with the console window. Thank you for your help.