[英]How solve c# CS0006 error from a existing project in solution
I've lost hours trying solve this CS0006 Error, so I could solve doing what following:我花了几个小时试图解决这个 CS0006 错误,所以我可以解决以下问题:
Removing project reference.删除项目引用。
Configuring solution to Debug in Active Solution Configuration and choosing ANY CPU in Active Solution Platform.将解决方案配置为在活动解决方案配置中进行调试,并在活动解决方案平台中选择任何 CPU。
Solving errors in project解决项目中的错误
Rebuilding a solution.重建解决方案。
Referencing the Project Again.再次引用项目。
Is there another method to solve this issue?有没有其他方法可以解决这个问题?
我之前遇到过这个问题,通过手动删除 bin 和 obj 目录、清理解决方案和重建解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.