phr00t / FocusEngine

Focus Game Engine. This is Stride/Xenko fast-tracked for Phr00t's Software games. Improvements over the original Focus on Vulkan support, PC platforms, VR, performance & ease. Cherry-picks commits from other forks as needed.
MIT License
97 stars 11 forks source link

PSA for those who had previously built Xenko/Stride and are encountering build issues with Focus #112

Closed jmkinzer closed 1 year ago

jmkinzer commented 1 year ago

I encountered a slew of errors in the build where paths were confused, it could not the nuget package directory, etc. The fix is trivial:

Nuke anything found here (or if you're using this for other projects, just any lines mentioning Xenko and Stride) %appdata%\NuGet\NuGet.config For good measure nuke this too %appdata%\Xenko

Although theoretically %appdata% should cover it, you might also need to check local and roaming... somehow I had entries in both folders.

After this the engine builds with no issues at all... IIRC more cleanly than Xenko built last time I tried - thanks @phr00t!!

phr00t commented 1 year ago

Yeah, it is probably getting a bunch of old Nuget packages confused with Focus ones. Clearing them out will make sure all the Focus ones gets used. Thank you for the tip!