Could not load type 'XXX.Global'

后端 未结 18 1789
萌比男神i
萌比男神i 2020-12-01 07:06

Migrating a project from ASP.NET 1.1 to ASP.NET 2.0 and I keep hitting this error.

I don\'t actually need Global because I am not adding anything to it, but after I

18条回答
  •  栀梦
    栀梦 (楼主)
    2020-12-01 07:44

    This one drove me completely insane and I couldn't find anything helpful to solve it. This is probably not the reason most people have this issue but I just hope that someone else will benefit from this answer.

    What caused my problem was a statement in the config section. I had added this because in production it had been required because there were multiple unrelated applications on the same hosting plan and I didn't want any of them to be affected by others. The more correct solution would have been to have just used web config transforms on publish.

    Hope this helps someone else!

提交回复
热议问题