Hello,
I have the UE 5.1 (not binary, but source), and I try to compile it with a project. I use Perforce. After having updated project to UE 5.1, I am unable to compile with the following errors:
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: The “GenerateDepsFile” task failed unexpectedly. [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: System.IO.IOException: The process cannot access the file ‘D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\bin\Development\netcoreapp3.1\EpicGames.Core.deps.json’ because it is being used by another process. [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at System.IO.File.Create(String path, Int32 bufferSize) [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at Microsoft.NET.Build.Tasks.GenerateDepsFile.WriteDepsFile(String depsFilePath) [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at Microsoft.NET.Build.Tasks.GenerateDepsFile.ExecuteCore() [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at Microsoft.NET.Build.Tasks.TaskBase.Execute() [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at Microsoft.NET.Build.Tasks.TaskWithAssemblyResolveHooks.Execute() [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]
26>D:\Perforce\MyPC\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\sdk\6.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(176,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() [D:\Perforce\MyPC\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj]