Josh Posted August 7, 2018 Share Posted August 7, 2018 By default Visual Studio is complaining about the Windows target version. This is stored in the vcproj file in this property: WindowsTargetPlatformVersion If I remove this property and open the project, VS complains that the version 8.1 is not found. ... Hmmm, looks like here is a solution: https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html <!-- Latest Target Version property --> <!-- https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html--> <PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'==''"> <LatestTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</LatestTargetPlatformVersion> <WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)' == ''">$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion> <TargetPlatformVersion>$(WindowsTargetPlatformVersion)</TargetPlatformVersion> </PropertyGroup> Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.