Reputation: 4249
I have an ASP .Net 6 Web API (C#) which I am deploying to Azure App Service. On Visual Studio 2022's Publish window, I have the following configuration:
As you can see, there is a warning triangle next to the "Target Runtime" dropdown. If I hover my mouse over it, it says:
The instance of Azure App Service you are deploying to does not support 'win-x64'. Please either enable support through Azure App Service's settings or pick a different target runtime.
Now, on my Azure App Service configuration, I do have it set to 64 Bit:
The API does work once deployed, so I'm not sure if it's maybe just a false alarm?
The App Service is on an S1:1 pay-as-you-go service plan, with Windows OS, and the location is South Africa North:
I'm using Visual Studio Community 2022 (64-bit) Version 17.1.5
Thanks
Upvotes: 2
Views: 800
Reputation: 4249
As proposed by @TinyWang, I deleted and recreated the publish configuration, and the warning went away. Thanks
Upvotes: 2