Unity won't build my game correctly

I have encountered a weird error with unity after the last update a few months ago (to an LTS version), That no project can be built.
I always get the same errors on the console (as seen in the image below), and the game gets built and crashes on launch.
This plagues all my projects both old and new, Downgrading to the other version didn’t help, something in the update changed the settings I guess. Any idea why this can happen?

Have you tried deleting your [ProjectName]/Library folder? It looks like you have some missing CSharp Assembly files. Removing the /Library folder will reimport/rebuild everything.

I had an apostrophe in the project name.