Yellow triangle on Service reference in ServiceFabric solution

758 Views Asked by At

My SF solution currently has one service, but seems like there is a problem in the reference from the sfproj to the service.

I saw the following question and answer and made sure all target framework is matching: Service Fabric Service reference has yellow triangle

I'm using Visual Studio 2017.

SlnExp

All of these projects are targeting .NET Framework 4.5.2, sfproj version 1.6

I also tried to add new services, and they too have yellow reference.

1

There are 1 best solutions below

0
Mugen On

Problem was with NuGet packages.

My local NuGet server only had Microsoft.VisualStudio.Azure.Fabric.MSBuild version 1.4, but apparently, the sfproj demanded version 1.6. By manually editing the sfproj, problem was resolved.