Getting an error Cannot resolve dependency to assembly System.Web

后端 未结 1 1787
死守一世寂寞
死守一世寂寞 2021-01-25 03:16

I had to have my primary HD replaced. Yesterday my HD was replaced by our IT tech staff. So today, after installing VS 2015, I started working on a WPF app we\'ve been working o

相关标签:
1条回答
  • 2021-01-25 03:44

    why we even need System.Web. Secondly, it isn't in the references of any project in the solution. I know, I've looked, but in VS 2015 AND opening the .csproj files directly. So, what is trying to use it? What needs it?

    System.Web.Dll is old library responsible for whole http-protocol working. requests sending and creation. And you can find the system.web is member of system:

    Besides, we can find the detail build log in the Visual studio Output, the system should be loaded, so if that assembly is missing or it is with a different version compared with the other referenced binaries, the assembly could not be loaded.

    To resolve this issue, you could add it or create a new project with Visual Studio 2015 and copy the source files into this project. Then rebuild it, check if it works.

    Hope those can help you.

    0 讨论(0)
提交回复
热议问题