Share via

Console Application Stopped working after Windows Update

Robin L 6 Reputation points
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.

Developer technologies | .NET | .NET CLI
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.