I want to create Azure Service Fabric App working with .NET 7. From what I understood from https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-versions that latest version supports up to .NET 7. I am working with Visual Studio Professional 2022 (v. 17.8.0) and installed:
While creating a new project in VS (File > New > Project) and choosing Service Fabric Application, the latest framework option is .NET Framework 4.8 (as shown below)
I followed official article https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started but it mentions VS 2017 and 2019. Is there anything else that I need to support .NET 7 in Azure Service Fabric template?
Thanks for any hints!
the latest framework option is .NET Framework 4.8
In Visual Studio Installer, click on Modify option to check the Runtime versions.
Yes, when you check the Service Fabric Application, in the first template it shows only the framework version.
Select any of the framework and click on any service under .NET Core.
Create
, here you will get an option to select the .NET Core Version along with the template..csproj
file of the Web App.Refer this blog by Mike Rousos for more details.