Unable to build whatsoever,Unable to build at all

So I’m having this weird issue where if I build anywhere at all it gives me this and makes all my scripts say they are not valid scripts.

UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83

That error message doesn’t help much. Are you getting any other errors before this one? Also can you provide more detail, like when this message started appearing, did you update unity recently, etc?