Console Application Stopped working after Windows Update

Robin L 1 Reputation point
2022-01-07T04:58:24.357+00:00

Hi I have a Console Application for Windows 10, it is targeting dotnet core 3.1 and it was published and compiled as "Self-Contained", so it is supposed to be independent of the Framework installed on user computer.

However after some Windows Updates relating to .NET Framework it stopped working (the Console Application just flash and close immediately when launched).

Please enlighten me if you have any idea what could be the issue, or any possible solution that I can try. Thanks!

This is the most suspicious update:
2021-KB5006365 (Cumulative Update for .NET Framework 3.5 and 4.8)

Other update includes:
2021-KB5008212 (Security Updates)
2021-KB5007289 (Cumulative Update Preview for .NET Framework 3.5 and 4.8)
KB4601050 (Cumulative Update for .NET Framework 3.5 and 4.8)
KB5005565 (Security Update)

163501-image.png

To add on, above is the project dependencies.

Software compiled before the Windows Update does not work after the update, however if I recompile after the update then it work again. Then when a later Windows Update come it stop working again... and so on.

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
0 comments No comments
{count} votes