Visual Studio 2017 For Mac Build For Windows

Active1 year, 2 months ago

I tried to follow Configuring Programs for Windows XP, but I have no General option under Configuration Properties. I installed Desktop development with C++ and Windows XP support for C++.

Hrvoje T

Visual Studio 2017 brings an exciting range of new features and improvements for developers, along with a brand new preview of Visual Studio for Mac. Channel 9 has put together an extensive collection of content from the Visual Studio 2017 launch, and in this post I wanted to share a few of my favorite recordings from the event. At Microsoft Build 2017, Microsoft’s Scott Guthrie shows off the brand new Visual Studio for Mac–available now.

Visual Studio 2017 For Mac Build For Windows Form

Hrvoje T
1,1821 gold badge12 silver badges23 bronze badges

1 Answer

I found a solution how to compile C# project in Visual Studio 2017 on Windows 10 for Windows XP. In VS2017 go to Solution Explorer and right click on your project. Go to properties and under Application menu choose .NET Framework 4 under Target framework. This is the lowest version you can select in VS2017 installed by default.

Studio

Visual Studio 2017 For Mac Terminal Window

I thought that the latest .NET framework working on XP was 3.5. However, I was wrong. Here at Microsoft docs it says:

.NET Framework 4.0.3 The .NET Framework 4.0.3 is the latest supported .NET Framework version on Windows XP and Windows Server 2003. The .NET Framework 4.0.3 requires that the .NET Framework 4 is installed first. Both of these .NET Framework versions are no longer supported by Microsoft.

Visual

.NET Framework 4 You can install the .NET Framework 4 on Windows XP. It's no longer supported by Microsoft.

I compiled the project with .NET 4 framework and it didn't work by default on XP. It complained abount not being a valid application without offering to install newer .NET4.

Visual Studio For Mac Vs Windows

After that I googled .net4 for xp and found a file dotNetFx40_Full_x86_x64.exehere. Installed it on XP machine and my project exe file worked on 32-bit XP SP3 while being compiled on Win10 VS2017 64-bit.

Hrvoje THrvoje T

Visual Studio 2017 For Mac Build For Windows Form Application

1,1821 gold badge12 silver badges23 bronze badges

Visual Studio 2017 For Mac

Not the answer you're looking for? Browse other questions tagged windows-xpvisual-studio-2017 or ask your own question.