azure – Does not find the namespaces MS.ServiceFabric and System.Fabric in a new project

I have just installed Azure Service Fabric SDK and created a service fabric (stateful) service from a template.

It's just the code from the template, but I get a lot of mistakes. I have verified that the Service Fabric NuGet package is installed and seems to have the correct DLL: s

I work with VS as an administrator and have restarted VS and Computer, just to be sure.

Enter the image description here