Hey I tried to transition my unreal project from a blueprint to a c++ project, and it didn’t actually generate the Visual Studio project files, so when I try to open the .sln visual studio file, I get these errors:
F:\Documents\Slime_Stuff 5.1 5.4\Intermediate\ProjectFiles\Slime_Stuff.vcxproj : error : The project file could not be loaded. Could not find a part of the path ‘F:\Documents\Slime_Stuff 5.1 5.4\Intermediate\ProjectFiles\Slime_Stuff.vcxproj’. F:\Documents\Slime_Stuff 5.1 5.4\Intermediate\ProjectFiles\Slime_Stuff.vcxproj
F:\Documents\Slime_Stuff 5.1 5.4\Intermediate\ProjectFiles\Slime_Stuff.vcxproj : error : The project file could not be loaded. Could not find a part of the path ‘F:\Documents\Slime_Stuff 5.1 5.4\Intermediate\ProjectFiles\Slime_Stuff.vcxproj’. F:\Documents\Slime_Stuff 5.1 5.4\Intermediate\ProjectFiles\Slime_Stuff.vcxproj
F:\Documents\Slime_Stuff 5.1 5.4\Intermediate\ProjectFiles\UE5.vcxproj : error : The project file could not be loaded. Could not find a part of the path ‘F:\Documents\Slime_Stuff 5.1 5.4\Intermediate\ProjectFiles\UE5.vcxproj’. F:\Documents\Slime_Stuff 5.1 5.4\Intermediate\ProjectFiles\UE5.vcxproj
F:\Documents\project\Intermediate\ProjectFiles\UE5.vcxproj : error : The project file could not be loaded. Could not find a part of the path ‘F:\Documents\project\Intermediate\ProjectFiles\UE5.vcxproj’. F:\Documents\project\Intermediate\ProjectFiles\UE5.vcxproj
F:\Documents\project\Intermediate\Build\BuildRulesProjects\Slime_StuffModuleRules\Slime_StuffModuleRules.csproj : error : The project file could not be loaded. Could not find a part of the path ‘F:\Documents\project\Intermediate\Build\BuildRulesProjects\Slime_StuffModuleRules\Slime_StuffModuleRules.csproj’. F:\Documents\project\Intermediate\Build\BuildRulesProjects\Slime_StuffModuleRules\Slime_StuffModuleRules.csproj
when I look I see that "'F:\Documents\project\Intermediate\ProjectFiles" doesn’t exist, so when I try the “General Visual Studio project files” by right clicking the .uproject file, I get another set of errors:
Running F:/Epic_Games/UE_5.4/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“F:/Documents/Slime_Stuff 5.1 5.4/Slime_Stuff.uproject” -game -rocket -progress -log=“F:\Documents\Slime_Stuff 5.1 5.4/Saved/Logs/UnrealVersionSelector-2024.07.14-16.47.30.log”
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -projectfiles -project=“F:/Documents/Slime_Stuff 5.1 5.4/Slime_Stuff.uproject” -game -rocket -progress -log=“F:\Documents\Slime_Stuff 5.1 5.4/Saved/Logs/UnrealVersionSelector-2024.07.14-16.47.30.log”
A fatal error was encountered. The library ‘hostpolicy.dll’ required to execute the application was not found in 'F:\Epic_Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool'.
Failed to run as a self-contained app.
- The application was run as a self-contained app because ‘F:\Epic_Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.runtimeconfig.json’ did not specify a framework.
- If this should be a framework-dependent app, specify the appropriate framework in ‘F:\Epic_Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.runtimeconfig.json’.
This is where I’m stuck. I have Microsoft .Net Framework 4.8.1 SDk and Microsoft .Net SDK 6.0.424 installed on my system, but I don’t know if any of that matters for this generation, because it looks like UE is using its own .net SDK version, which doesn’t actually work. Do I need to change a setting in unreal engine somewhere to tell it to use what I’ve got installed, or do I maybe need to check something in my path variable?
Any help is appreciated, as I currently can’t work on my game with it not being able to open the project.
Thanks