Answer the question
In order to leave comments, you need to log in
How to properly reinstall .NET Framework 4.0 on Windows 7 builds?
Good day. The problem is what. There is a launcher (WPF) for Minecraft. Works in beta quite stable. But this is only on pure MSDN images of Windows (7, 8). Some players who installed some kind of "scorched" builds of Windows do not launch the launcher, with the CL20R3 error. It is compiled under 4.0 framework. I tried compiling under 3.5 and 4.5.1 - no result, still the same error.
On those computers where the launcher did not work, I tried to use such programs as: Microsoft .NET Framework Repair Tool, removing and installing all Framework versions in a row.
Answer the question
In order to leave comments, you need to log in
Well, the user himself is a fool, since he uses burnt Windows assemblies. Who knows how the registry was corrected there and what they did with them in general. He must understand that he does this at his own peril and risk and that something can go wrong. Here is a case where something goes wrong.
if you can catch this error, then catch and tell the user something and correctly terminate the application.
Judging by this, the problem may not be in the framework at all.
In the Event viewer (well, the one in the control panel in the Administration section), look, maybe there is more information about the error.
Try running another .NET program (freshly created from studio templates, for example). Maybe it's not about .NET.
Try to catch and throw the exception in AppDomain.CurrentDomain.UnhandledException
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question