Issues with .Net Framework error

I'm working on building a simple program using the Windows Forms template, unfortunately most people I've tried to get to use the program have gotten this error:

"To run this application you must first install one of the following versions of the .Net Framework:
v2.0.50727
Contact your application publisher got instructions about obtaining the appropriate version of the .Net Framework."

Any idea how I can clear up this error


Answer this question

Issues with .Net Framework error

  • Chmely

    Well, as was mentioned, the only real easy way to get rid of this problem is to install the .net framework 2.0 onto target machines.

    If you want to find the difference between using native win32 then download the platform sdk and just try to create a basic window, you will see why using things like .net is much nicer.



  • der.marcus

    So how would I make my program not use the .Net Framework I'm rather new to Visual C++.
  • Prakash_Paghdal_61f42f

    As you're using C++, you have two options. First, write an app that does not use the .NET framework, or second, install the .NET framework 2.0 on the target machine. The express edition only gives very difficult options for windows apps without C++, and you need to download the PSDK to pursue them.



  • Luo Bin

    It would not use Windows Forms, instead it would use Win32, which is a pretty complex way to go about things. A full Visual Studio version would give you access to MFC, a class library that wraps Win32 and makes it a ton easier. You're far better off distributing the framework, although I see no value in using Windows Forms in C++, I'd also consider moving to C# unless you have other reasons for using C++. C++ is more powerful, but also more complex. It also is subject to an external standard, and once you use .NET, you throw away the standard, and may as well not learn c++ at all, IMO.



  • Issues with .Net Framework error