Install the .NET 6 SDK from https://dotnet.microsoft.com/en-us/download/dotnet/6.0 (The latest is what you need)
Running C# Azure Created App on Localhost from VS Code
Oren Avni
1
Reputation point
I used Azure to create a web app through Create a Resource. I cloned the app locally and want to run it on localhost to test the changes I make before additional deploys. However, when I run the command dotnet run, I get an error message: "C:\Program Files\dotnet\sdk\6.0.400\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets"
was not found.
How do I run and test my Azure created project locally before deploying it?
Thanks!
Developer technologies ASP.NET ASP.NET Core
4,815 questions
Developer technologies Visual Studio Debugging
1,102 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
Developer technologies Visual Studio Other
5,451 questions
Developer technologies C#
11,567 questions