Consume the VS SDK build tools and targets from NuGet
The NuGet packages for the SDK don't currently support cross-targeting, so we must pick the right version to consume based on the version of Visual Studio you are targeting. I implement this by simply restoring both versions, and conditioning our MSBuild includes to the right one. The annoying bit is since we need to restore two different versions of the same package name via NuGet, we have to put the dependencies in separate project.json files. Fixes #10407.
Showing
想要评论请 注册 或 登录