Visual Studio refuses to build project due to missing assembly reference that isn't missing

前端 未结 6 1380
庸人自扰
庸人自扰 2020-12-18 18:38

I\'m building a c# windows service and has added a couple of assembly references (to other projects of my own) to my project.

I get the following error when I build

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-18 18:51

    I the same problem. Or at least the symptoms were same. My solution was located on a network drive. Moving the solution to my local drive solved the problem for me.

    The reason was apparently that Windows 10 didn't see the network drive as a trusted enough location. It worked fine until I managed to break my solution somehow. Visual studio apparently didn't have the required rights to perform needed the fixing operations.

提交回复
热议问题