Hi dears,
does anyone stumbled upon this errors while trying to compile scripts in Visual Studio 2019? For me this bad boy pops up every time I try to compile any script for UE5 project, even default ones which I have not edited in any way.
Build started…
1>------ Skipped Build: Project: UE5, Configuration: BuiltWithUnrealBuildTool Win64 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: DAOR, Configuration: Development_Editor x64 ------
2>‘“C:\Program Files\Epic Games\UE_5.0EA\Engine\Build\BatchFiles\GetDotnetPath.bat”’ is not recognized as an internal or external command,
2>operable program or batch file.
2>UnrealBuildTool : error : Unhandled exception: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘E:\DAO Remaster Assets\DAOR\DAOR’.
2> at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) 2> at System.IO.Enumeration.FileSystemEnumerator
1.Init()
2> at System.IO.Enumeration.FileSystemEnumerator1..ctor(String directory, Boolean isNormalized, EnumerationOptions options) 2> at System.IO.Enumeration.FileSystemEnumerable
1…ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
2> at System.IO.Enumeration.FileSystemEnumerableFactory.FileInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
2> at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
2> at System.IO.DirectoryInfo.EnumerateFiles()
2> at EpicGames.Core.FileUtils.FindCorrectCase(FileInfo Info) in d:\build++UE5\Sync\Engine\Source\Programs\Shared\EpicGames.Core\FileUtils.cs:line 63
2> at UnrealBuildTool.TargetDescriptor.ParseSingleCommandLine(CommandLineArguments Arguments, Boolean bUsePrecompiled, Boolean bSkipRulesCompile, List1 TargetDescriptors) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\TargetDescriptor.cs:line 305 2> at UnrealBuildTool.TargetDescriptor.ParseCommandLine(CommandLineArguments Arguments, Boolean bUsePrecompiled, Boolean bSkipRulesCompile, List
1 TargetDescriptors) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\TargetDescriptor.cs:line 218
2> at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 164
2> at UnrealBuildTool.UnrealBuildTool.Main(String ArgumentsArray) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 565
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(45,5): error MSB3073: The command ““C:\Program Files\Epic Games\UE_5.0EA\Engine\Build\BatchFiles\Build.bat” DAOREditor Win64 Development -Project=“E:\DAO Remaster Assets!DAOR\DAOR\DAOR.uproject” -WaitMutex -FromMsBuild” exited with code 6.
2>Done building project “DAOR.vcxproj” – FAILED.
VS version - 16.11.9 Community.
Unreal Engine version - 5EA (launcher version).
Anyone have any ideas how to fix it?
Thanks in advance.