3

So here's my problem, i already have a written code with visual studio c++ 2015. I need to run it on a windows server 2003. So basically i need to run it on visual studio 2005. Is there anyway i can do it? Or should i upgrade the visual studio version?

Thanks

tony daher
  • 31
  • 1

1 Answers1

1

I encontered the same issue. But you can also compile for your windows server by changing some project settings:

Right-click on your project -> Settings. In the configuration settings, navigate to general. Now, you can change "platform toolset" to "Visual Studio 2015 - Windows XP". After compiling, the resulting exe should run on your windows server fine. At least, this worked for me.

IceFire
  • 4,016
  • 2
  • 31
  • 51
  • 1
    Safe for those very few exceptions. Windows Server 2003 had a some functions, XP had not. I used to have server 2003 at home and xp at work back in the days... and sometimes stuff I wrote used things not available on the xp machines. – BitTickler Apr 06 '16 at 14:14