Could not load file or assembly System, Version=2.0.5.0 in .NET 4 MVC 4 application

前端 未结 6 2098
梦谈多话
梦谈多话 2020-12-03 10:34

Been searching for ages, can\'t find anything helpful. Here is the exception I\'m getting:

Could not load file or assembly \'System, Version=2.0.5.0, Culture         


        
6条回答
  •  庸人自扰
    2020-12-03 10:50

    I found that it was the "await" and "async" that where giving me trouble.

    I had Windows XP SP3 with only .NET 4.0, but had to update it to .NET 4.0.3 using KB2600211 - this wasn't updated automatically through Windows Update when .NET 4.0.3 came out because the computer is off-grid.

    This is the link to the update:

    https://www.microsoft.com/en-us/download/details.aspx?id=29053

提交回复
热议问题