-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidProjectFileException during NativeVersionInfo_CreateNativeResourceDll test #294
Comments
also, it seems the actual test project |
I haven't figured that out yet. I think there's a VS 2015 dependency or something. @heaths, do you know? I'm seeing this too (thus we skip this test on Azure Pipelines): |
Well, there are Microsoft.Build and Microsoft.Build.Tasks.Core 14.3.0 NuGet PackageReferences |
ok, after upgrading all NuGet PackageReferences I get the next error (same testcase):
(I enabled detailed MSBuild logging in the testcode to get this output) So there is an additional dependency in order to be able to run the tests, this is due to the test.vcproj template containing |
Unfortunately, targeting the Windows SDK requires targeting a specific version. Currently, the 1809 build (RS5) is in both 15.9 and 16.0 preview, so the projects would need to be updated. @AArnott, I recommend adding a .vsconfig file with instructions how to use it for 15.9 (have to import it into a new or existing instance). 16.0 will pick that file up from the root automatically. |
Just to help me understand, from this project point of view, it doesn't really matter which Windows SDK is used right? |
does https://github.com/japj/Nerdbank.GitVersioning/commit/f374ba5bd400ab53de08b5211367800a73ef5dac seem like an acceptable solution for not hardcoding the WindowsTargetPlatformVersion? This uses the same registry mechanism as |
When running the test on the master branch in Visual Studio 2017 15.9.6, I get the following error:
The text was updated successfully, but these errors were encountered: