Before Publishing, it is Recommended to Analyse and validate your project. The errors are not because of publish. Since you’ve updated studio, check the versions of your dependencies as well. Revert back the versions of your dependencies to the one you had previously, if you remember.
I can observe a pattern in the error. Please check the package UiPath.CodedWorkflows