You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
5.214: MSB4062: The "http://Microsoft.Build .Tasks.GetFileHash" task could not be loaded... #3609
To explain: We are using a new msbuild Task in 5.214 but only in the targets file for .NET SDK which is at least msbuild 15.8 as far as I know (where the task was introduced). Therefore it should have been safe to add this dependency.
Question is why it fails for you. Are you building new SDK project with an old msbuild version?
Yes! It's working again! That was quick, thanks a lot.
We especially take the line "\Paket.Restore.targets(134,5): warning : This version of MSBuild (we assume '15.7.179' or older) doesn't support GetFileHash, so paket fast restore is disabled." as a personal greeting :-)
Activity
matthid commentedon Jul 3, 2019
Yes what environment are you using (Visual Studio / Dotnet SDK version)?
matthid commentedon Jul 3, 2019
To explain: We are using a new msbuild Task in 5.214 but only in the targets file for .NET SDK which is at least msbuild 15.8 as far as I know (where the task was introduced). Therefore it should have been safe to add this dependency.
Question is why it fails for you. Are you building new SDK project with an old msbuild version?
tih2010 commentedon Jul 3, 2019
We are using VS2019 (and VS Code) during development, I don't know if that matters a lot.
For our complete build we use a script featuring yarn, paket and fake.
The code itself is written in C# and F#, using '.net standard2.0' and '.net core 2.1'
As far as I understand we are using SDK 2.1. With it came msbuild 15.7.179.6572 (as I see in the logs)
I'll attach a file with the complete output of our build-process with Paket 5.213:
build_paket5_213.txt
Do you need another one fpr a run with Paket 5.214? It wouldn't be very long. :-)
be a bot more defensive, might fix fsprojects#3609 and fsprojects#3610
matthid commentedon Jul 3, 2019
If you want to test a fix (or have a workaround):
.paket/Paket.Restore.targetsin your repositoryPAKET_SKIP_RESTORE_TARGETSenvironment variable totruein your CI/locally (in order for Paket/Fake to not replace that file)Otherwise wait for the PR to be released and report back.
forki commentedon Jul 3, 2019
can you please retry with 5.215.0?
tih2010 commentedon Jul 4, 2019
Yes! It's working again! That was quick, thanks a lot.
We especially take the line "\Paket.Restore.targets(134,5): warning : This version of MSBuild (we assume '15.7.179' or older) doesn't support GetFileHash, so paket fast restore is disabled." as a personal greeting :-)
(And will switch to a newer version soon)