UnityEditor Assembly not found

I followed multiple guides regarding VRC avatar development to the letter but am getting an error that says the UnityEditor Assembly can not be found. This happens when I try to build my avatar project. Running a build asks for a directory - which presumably means where I want the project to be built to but it does not state as such. I created a build directory for this but choosing it, or any other directory, leads to the error below. Running a Google search for this error gives no useful info at all. Does anyone have any idea what could possibly be going on here?

ArgumentException: The Assembly UnityEditor is referenced by VRCCore-Editor ('Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/VRCCore-Editor.dll'). But the dll is not allowed to be included or could not be found.

You’re not by any chance trying to build an exe are you (e.g., via file->build and run)? Because being asked for an output folder is what would happen if you tried to make an exe build.

You need to use the SDK control panel to build the avatar. It’s under VRChat SDK → Show Control Panel.

Yeah I’m used to needing to build stuff from an IDE every day for work. I eventually figured out you can just publish avatars without them having to build.

To clarify, was the solution to use ‘Build & Publish’ in the VRChat SDK instead of using Unity’s build process?