“Are you missing an assembly reference?” compile error - Visual Studio

后端 未结 9 679
悲&欢浪女
悲&欢浪女 2020-12-09 08:48

I am currently working on a server control for other applications in our company to interface with a WCF service. Every time I make a change code change and recompile the c

9条回答
  •  天命终不由人
    2020-12-09 09:22

    If none of the solutions above worked, try this 10-second fix.

    Navigate to the startup project in solution explorer. Right click, properties > Application > Target framework. Change the target framework to anything else. Press Yes for the confirmation dialog. Give the changes a few seconds to take effect, then switch the framework back to what it was before.

    The error will hopefully go away for you like it did for me!

提交回复
热议问题