Could not load type ‘XXX.Global’

The reason I encounter this issue is because I change the build configuration. When I set a web project to x86, it changes the output path to bin\x86\Debug. However, the output path should be bin and the web server won’t find the binaries because of this.

The solution thus is to change the output path of the website back to bin after you change the build configuration.

Leave a Comment