F
F
Flumaster2014-07-10 11:52:51
C++ / C#
Flumaster, 2014-07-10 11:52:51

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

3 answer(s)
A
Alexey Kulakov, 2014-07-10
@carbon88

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.

A
AlexP11223, 2014-07-10
@AlexP11223

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

F
Flumaster, 2014-11-01
@Flumaster

I apologize for not answering @carbon88 and @AlexP11223 , I solved the problem like this: I wrote a program for Framework 2.0.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question