Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET framework, Windows XP

Tags:

vb.net

We have built an app with Visual Studio 2012 and it runs beautifully on any Windows 7 or Vista machine, 32 or 64 bit. However, when I try to run the app on an Win XP machine, I get this:

**

Prerequisite check for system component Microsoft .NET Framework 4.5 (x86 and x64) failed with the following error message:

"Installation of the Microsoft .NET Framework 4.5 is not supported on this operating system. Contact your application vendor."

**

And then of course, when I try to install .NET 4.5 on the Win XP machine, I find out it's not supported.

At this point, I'm just wanting to know what can be done to get this app to run on Win XP. It's a calculator application written in visual basic.

Thanks Guys!

like image 252
Mark Jeffords Avatar asked Nov 12 '12 16:11

Mark Jeffords


2 Answers

.Net framework 4.5 is not supported in Windows XP. If you're not using any .Net 4.5 features you can rebuild your app using .Net Framework 4 (In the Project properties).

enter image description here

like image 176
Nasreddine Avatar answered Oct 01 '22 14:10

Nasreddine


I always hate these kind of answers, but a quick google search indicates that you can't get .net 4.5 to run on Windows XP.

IF you really really need your application to run, you can always use earlier versions of the framework

you can do this by

Right click on your project and go to

  • properties
  • application
  • target framework

and change that to something elxe

like image 34
Sam I am says Reinstate Monica Avatar answered Oct 01 '22 14:10

Sam I am says Reinstate Monica