Recently I was deploying some sites, and got the error “Compiler Error Message: The compiler failed with error code 255.” – which looks like this
after some research the cause of, and solution to was all in the nuget package manager. I had recently added a new project to the solution and some of the more “stock” nuget packages were out of sync with with the newer packages. Make sure all of the nuget packages are the same version and your problems will be resolved.