Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Windows 服务项目,我将它添加到其他几个项目中。我添加了参考资料,我可以访问它们。然后当我构建时,它说“不存在”然后我删除引用并再次添加它,我可以访问它,但是当我构建时仍然失败并且以后无法访问它。有什么线索会发生这种情况吗?
需要检查的几件事:
您的 Web 服务在哪里构建?您可能想检查它没有被部署到在重建时删除其内容的 \bin 文件夹。
它是作为 Web 引用添加还是直接作为对程序集的引用添加?