Mysterious disappearing reference

后端 未结 2 625
有刺的猬
有刺的猬 2021-01-20 19:31

I have what seems to be a very strange problem with a windows forms application. I am a web developer and I have limited experience of developing windows forms application.

2条回答
  •  深忆病人
    2021-01-20 19:42

    I just recently had an issue like this one, and wanted to include my solution for future reference in case it comes up again. There's a warning (not an error) message that pops up when the build fails, which I missed originally because I had my error list set to filter warnings out. In my particular case I needed to change away from using the client version of .NET, and the warning message contained the information I needed to debug the problem.

    Warning 44 The referenced assembly [...] could not be resolved because it has a dependency on [...] which is not in the currently targeted framework [...]. Please remove references to assemblies not in the targeted framework or consider retargeting your project. [...]"

提交回复
热议问题