Basic .net 8 test app not working on app service

  Kiến thức lập trình

I have an app for a personal project set up as an app service on Azure. It used a WebHook to get the code, connecting it from the deployment center, but suddenly it started failing. The last commit, when it was working, was a week ago. So I set up a new test project, using purely the default code for a .Net 8 MVC web app. It runs locally, but when Azure tries to build it, it seems to be failing too with the following error:

C:Program Files (x86)MSBuild-16.4MSBuildCurrentBinMicrosoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v8.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [C:homesiterepositoryTestAppTestAppTestApp.csproj]

My other alternative is using a pipeline, but this method is a lot simpler and doesn’t require me to wait several days to request a grant to run it.

It seems like an issue with Azure but I could be wrong.

LEAVE A COMMENT