Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7734033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:08:57+00:00 2026-06-01T07:08:57+00:00

This question has been asked before perhaps multiple times, but I can’t get the

  • 0

This question has been asked before perhaps multiple times, but I can’t get the typical solution to work for me. The proposed solution is to put this in the “app.config” file:

<configuration>
   <startup>
      <supportedRuntime version="v4.0"/>
   </startup>
</configuration>

But with a simple “Hello World” program, I still get the error: “Unable to find a version of the runtime to run this application.”.

For some background, I’m using Windows XP (through Windows Virtual PC on Windows 7), and only installed the .NET 4.0 runtime on XP.

After some research, I found this page:
http://msdn.microsoft.com/en-us/library/ee941656.aspx#core

It mentioned “If your application configuration file is named application-name.config, rename it to application-name.exe.config. For example, rename MyApp.config to MyApp.exe.config.”.

I tried that, thinking it could solve the issue, but I still get “Unable to find a version of the runtime to run this application.” when I try to run the .NET 3.5 (client profile or full) application on WinXP with .NET 4.0.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:08:58+00:00Added an answer on June 1, 2026 at 7:08 am

    I cracked it. This might sound daft, but it turns out that the config file needed to be with the final executable in the user’s folder. After all my researching, this didn’t appear to be clarified anywhere. I was thinking it was only used for compiling purposes to be in the developer’s folder.

    In the VS editor file list, it can remain as “app.config”. However, when compiled, VS automatically creates “{ProgramName}.exe.config” instead (and puts it in the bin/release folder). This is the file that needs to go in the end user’s folder along with the executable.

    To summarize, yes, it is possible to run a .NET 3.5 app on a system which only has .NET 4.0 installed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I realize this question has been asked before, but I can't get it to
Maybe this question has been asked many times before, but I never found a
It's quite possible a question like this has been asked before, but I can't
Now this question has been asked before but I am not able to get
I'm sorry if this question has been asked before, but I can't seem to
I know this question has been asked before, but I tried eveything and can't
Perhaps this question has been asked before in a different way, but I haven’t
This question has been asked before, but I can't find any answers that have
I'm sure this question has been asked before, but I can't seem to find
This question has been asked before ( link ) but I have slightly different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.