I admit that I was never a fan of querying the registry from an msbuild project. This causes a lot of unnecessary headache among developers since, as far as Windows Native application development is concerned, this very specific SDK version stuff just doesn’t matter. WindowsTargetPlatformVersion and any collaborating developer who attempts to build the project must have precisely that version Windows SDK installed. As a result, every project is forced to define this very specific There’s no built-in logic to fall back on whatever SDK the developer might have installed, and there’s no msbuild property that’s initialized with whatever SDK the developer might have installed. If your project doesn’t request a specific WindowsTargetPlatformVersion then it’s an msbuild error. The odd part is that there’s no default fallback setting. If you’re curious, read later in the entry. There is a reason for that choice, and it’s both rather lengthy and specifically to do with UWP. An engineering choice made by Microsoft around the time of the release of Visual Studio 2015 was to explicitly require the Windows Platform SDK version to be specified by each and every C++ project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |