Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't open Service Fabric project in Visual Studio 2019

I have a solution with Service Fabric .sfproj project that works well in Visual Studio 2017.

Visual Studio 2019 can't open it. Seems that .sfproj project is unsupported at that moment.

Tried without success to create an empty Service Fabric project in VS 2017 and then open it in VS 2019.

Microsoft Service Fabric installation guide has nothing for Visual Studio 2019: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started

Any thoughts?

like image 556
L'Yosha Avatar asked Jun 24 '19 15:06

L'Yosha


Video Answer


2 Answers

The documentation you have linked to is evidently out of date. Not only is Service Fabric supported by Visual Studio 2019, Microsoft have recommended that Service Fabric customers switch to VS 2019. I can also confirm from personal experience that it works.

  • Install the Azure Development workload in Visual Studio Installer

  • Install the latest Azure Service Fabric SDK by downloading it from the page you linked to, or from within the Web Platform Installer in IIS Manager

...and you should be good to go.

like image 126
Stephen Kennedy Avatar answered Sep 21 '22 13:09

Stephen Kennedy


There is a bug related to loading .sfproj files in Visual Studio 2019 when it is side by side installed with Visual Studio 2017. The bug and corresponding workaround may be found here.

like image 33
pixelTitan Avatar answered Sep 21 '22 13:09

pixelTitan