Generation of designer file failed: Could not load file or assembly

后端 未结 9 1910
别跟我提以往
别跟我提以往 2021-02-09 15:56

I have an ASP.NET web application project which references another project called ModusCore (or Modus.Core). We\'ve had a variety of controls that use ModusCore up until now wi

9条回答
  •  离开以前
    2021-02-09 16:15

    Well, I've had this very problem for two days. As far as no proposed solution completely solved the problem (it looks very... erratic), I reached the Assembly Information button (or something similar... my VS is in Spanish) in the Application Tab of the project properties. I've only changed the Neutral Language... and now it deploys correctly.

    I have no idea of the correlation, but I reached here after seeing how some errors, related to the assembly information were displayed on the console after "converting to Web Application".

    To ensure that your web application is OK to deploy, you can see the first lines of the aspx files and check if all CodeFiles are CodeBehind instead. If you see "Codefile=...", it will fail on the deployment machine.

    Sorry for not being more explicit, but this is a weird issue to me :S

提交回复
热议问题