Service Fabric Service reference has yellow triangle

心不动则不痛 提交于 2019-12-23 09:16:05

问题


I'm using VS2015, when I add a service to my service fabric application, the reference has a yellow triangle. My Error window has no errors in it, and when I hover over the reference nothing popups up. How can I find out what it's problem is?

The solution builds and runs fine otherwise.


回答1:


This is a known bug in VS - the underlying project configuration system is incorrectly flagging the references as wrong. Things should work normally if you do a build.




回答2:


I was having the same error when referencing a class library from the service project. The target framework on the class library was 4.7, which was higher than the one of the service, 4.5.2.

So I just made sure they were compiling to the same framework versions (used 4.5.2 for both projects).



来源:https://stackoverflow.com/questions/42365272/service-fabric-service-reference-has-yellow-triangle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!