David TG
David TG

Reputation: 77

Visual Studio 2013: Build for Windows XP

I got a program made in Visual Studio 2013 (C#). I want to build it to XP. If I take the exe in the Debug directory and I run it on XP, I have an error "Is not a valid win32 application". What I have to do to build it for XP?

Upvotes: 1

Views: 3497

Answers (1)

David TG
David TG

Reputation: 77

I got the solution: You got to right-click in the solution name on the Solution Explorer and go to Properties. In there, you can not only change the platform (x64 or x86) but the .NET Framework. I downgraded to .Net Framework 4 and worked perfectly!

Upvotes: 3

Related Questions