Fail to generate build files on fresh install

On main branch of satisfactory mod loader. Right click on uproject --> Generate visual studio code Error Generating VisualStudio project files: Discovering modules, targets and source code for project... Compiled assembly file 'C:\Users\Zachary Kolansky\Documents\SatisfactoryModding\SatisfactoryModLoader\Intermediate\Build\BuildRules\FactoryGameModuleRules.dll' appears to be for a newer CLR version or is otherwise invalid. Unreal Build Tool will try to recompile this assembly now. (Exception: Could not load file or assembly 'C:\Users\Zachary Kolansky\Documents\SatisfactoryModding\SatisfactoryModLoader\Intermediate\Build\BuildRules\FactoryGameModuleRules.dll'. Format of the executable (.exe) or library (.dll) is invalid.) C:\Users\Zachary Kolansky\Documents\SatisfactoryModding\SatisfactoryModLoader\Source\FactoryDedicatedClient\FactoryDedicatedClient.Build.cs(22,4): warning CS0162: Unreachable code detected C:\Users\Zachary Kolansky\Documents\SatisfactoryModding\SatisfactoryModLoader\Source\FactoryGame\FactoryGame.Build.cs(115,5): warning CS0162: Unreachable code detected C:\Users\Zachary Kolansky\Documents\SatisfactoryModding\SatisfactoryModLoader\Source\FactoryGame\FactoryGame.Build.cs(123,4): warning CS0162: Unreachable code detected C:\Users\Zachary Kolansky\Documents\SatisfactoryModding\SatisfactoryModLoader\Source\FactoryGame\FactoryGame.Build.cs(146,4): warning CS0162: Unreachable code detected C:\Users\Zachary Kolansky\Documents\SatisfactoryModding\SatisfactoryModLoader\Source\FactoryGame\FactoryGame.Build.cs(180,4): warning CS0162: Unreachable code detected C:\Users\Zachary Kolansky\Documents\SatisfactoryModding\SatisfactoryModLoader\Source\FactoryShared.Target.cs(32,3): error CS0103: The name 'bOverrideAppNameForSharedBuild' does not exist in the current context Expecting to find a type to be declared in a target rules named 'FactoryClientTarget'. This type must derive from the 'TargetRules' type defined by Unreal Build Tool.
10 Replies
AnotherZach
AnotherZachOP•2w ago
Alright, I'm updating visual studio. I haven't used it in a while and that could easily cause errors. I'll make sure my packages are up to date and circle back
Muppet Burrito
Muppet Burrito•2w ago
It might even be the opposite problem tbqh, if the VS & UE versions don't match the exact ones stated in the mod docs things will fail, and neither want the most up to date versions
AnotherZach
AnotherZachOP•2w ago
My Visual studio is so out of date. Rarely update it because usually don't have to. At least 3 years old. Been doing through the docs, can't find recommended visual studio versions.
Muppet Burrito
Muppet Burrito•2w ago
Required Software :: Satisfactory Modding Documentation
To get started with modding Satisfactory, you’ll need multiple other pieces of software installed first. Don’t worry, we’l...
No description
AnotherZach
AnotherZachOP•2w ago
Thanks for that. I solved the error The error is related to the Unreal build tool. It can be solved by Commenting out the override name line, and adding this line to the client build file ExtraModuleNames.AddRange(new string[] { "FactoryGame" });
Muppet Burrito
Muppet Burrito•2w ago
Glad you solved it and that's good to know!
AnotherZach
AnotherZachOP•2w ago
Also a huge is error is that I'm on unreal engine native 5.3.2. Not the CSS version. So I was able to generate visual studio solution files...but failed to compile from source.
Muppet Burrito
Muppet Burrito•2w ago
Ahhh yeah that was my other thought, which is why I linked you to the page in the mod docs with the versions of both listed as well, both VS & UE need to be the 'right' ones for the project files to load properly 🙂
AnotherZach
AnotherZachOP•2w ago
Yea. Thanks.
Muppet Burrito
Muppet Burrito•2w ago
Anytime! Let us know if you have any other issues getting started modding! 🙂

Did you find this page helpful?