.heroku/dotnet/sdk/2.1.101/Roslyn/Microsoft.CSharp.Core.targets(84,5):
error MSB3883: Unexpected exception:
System.AggregateException: One or more errors occurred. (The system cannot open the device or file specified. [src/Models/Models.csproj]
) ---> System.IO.IOException: The system cannot open the device or file specified. [src/Models/Models.csproj]
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [src/Models/Models.csproj]
at System.Threading.Mutex.MutexTryCodeHelper.MutexTryCode(Object userData) [src/Models/Models.csproj]
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) [src/Models/Models.csproj]
at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean initiallyOwned, String name, Boolean& createdNew, SECURITY_ATTRIBUTES secAttrs) [src/Models/Models.csproj]
at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.<RunServerCompilationCore>d__7.MoveNext() [src/Models/Models.csproj]
--- End of inner exception stack trace --- [src/Models/Models.csproj]
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) [src/Models/Models.csproj]
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) [src/Models/Models.csproj]
at System.Threading.Tasks.Task.Wait(CancellationToken cancellationToken) [src/Models/Models.csproj]
at Microsoft.CodeAnalysis.BuildTasks.ManagedCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [src/Models/Models.csproj]
---> (Inner Exception #0) System.IO.IOException: The system cannot open the device or file specified. [src/Models/Models.csproj]
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [src/Models/Models.csproj]
at System.Threading.Mutex.MutexTryCodeHelper.MutexTryCode(Object userData) [src/Models/Models.csproj]
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) [src/Models/Models.csproj]
at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean initiallyOwned, String name, Boolean& createdNew, SECURITY_ATTRIBUTES secAttrs) [src/Models/Models.csproj]
at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.<RunServerCompilationCore>d__7.MoveNext()<--- [src/Models/Models.csproj]
Broken branch https://github.com/jincod/dotnetcore-buildpack/commits/develop
Similar issue: dotnet/roslyn#24124