Wednesday, October 2, 2019

.NET: What Version Is On the Target Server

I'm upgrading .NET (legacy 4.*) applications on multiple unfamiliar servers.  This includes needing to know if the currently installed framework meets my requirements.  Instead of fumbling through the actual registry, I can pasted this C# snippet into a console app and all is good:

REFERENCE: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

No comments:

Post a Comment