NuGet Package restore failed: Microsoft.Bcl.Build.Tasks.dll used by another process
In Windows Explorer went to the folder where the NuGet packages are installed for my solution
<VS Solution>\packages\
and deleted all the Microsoft.Bcl.* folders. After that could rebuild the solution without problems.
Find msbuild.exe in process explorer and kill it.