Search

.Net Framework Initialization Error


.Net Framework Initialization Error – Unable to find a version of the runtime to run this application

.Net Framework Initialization Error – Unable to find a version of the runtime to run this application

To fix this issue, say you have a Application named “DJ.exe”, just create a text file called “DJ.exe.config” and inside that put this info:
<configuration>
<startup>
<supportedRuntime version="v4.0" />
</startup>
</configuration>

Save “DJ.config” in the same directory as “DJ” and it should work. 

Also, make sure the extension of the configuration file you created is .config and not .config.txt !  in order to check that, make the file extensions visible. (to do that: In the window where the file is located, in the top menu, got to Tools-Folder options-View tab and UNcheck “Hide extensions for known file types”). Then, if the file extension is .config.txt, just remove the .txt part of it by renaming the file.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

ShareThis