-
-
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
FileNotFoundException for System.Memory when using Visual Studio Build Tools 2017 #589
Comments
Upgrading Visual Studio Build Tools 2017 from version 15.9.34 to version 15.9.35 does not help. |
The same error occurs with Microsoft Visual Studio Professional 2017 version 15.9.35. Adding Setting This issue is blocking my upgrade. |
There is no
If |
…dll for VS 2017 build tools Fixes #589
Several assemblies are required by this msbuild task but are not included in MSBuild 2017. Adding the assemblies to the package alone is not enough, since binding redirects are also missing in msbuild.exe.config. We make up for this with a custom assembly resolver. Fixes #589
Several assemblies are required by this msbuild task but are not included in MSBuild 2017. Adding the assemblies to the package alone is not enough, since binding redirects are also missing in msbuild.exe.config. We make up for this with a custom assembly resolver. Fixes #589
I tested that Nerdbank.GitVersioning 3.4.196-ge22f3b6a14 fixes the problem. |
However, now that you are shipping additional Microsoft DLLs in the nupkg, I wonder whether they require adding some legal text as well. Perhaps it is enough that the version resources of the DLLs themselves carry Microsoft copyright notices, and that Nerdbank.GitVersioning.nuspec contains |
Thanks for confirming. |
Tested that Nerdbank.GitVersioning 3.4.203 likewise works fine with Visual Studio Build Tools 2017 and Visual Studio Professional 2017. |
I tried to upgrade Nerdbank.GitVersioning from 3.3.37 to 3.4.194 but got a System.IO.FileNotFoundException for the System.Memory assembly. This is with MSBuild.exe ("Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework") installed as part of Visual Studio Build Tools 2017 version 15.9.34, on Windows Server 2012 R2.
Process Monitor shows it loads
C:\Users\REDACTED\.nuget\packages\nerdbank.gitversioning\3.4.194\build\MSBuildFull\Nerdbank.GitVersioning.Tasks.dll
and notC:\Users\REDACTED\.nuget\packages\nerdbank.gitversioning\3.4.194\build\MSBuildCore\Nerdbank.GitVersioning.Tasks.dll
. That seems correct to me."C:\Users\REDACTED.nuget\packages\nerdbank.gitversioning\3.4.194\build\MSBuildFull\NerdBank.GitVersioning.dll" references the missing assembly:
The text was updated successfully, but these errors were encountered: