Unable to load ASP.NET Core web app in tanzu (prev PCF)

31 Views Asked by At

I am uploading/publishing an ASP.NET Core web app on tanzu platform using below command on powershell command line.

cf push -f .\manifest-Dev.yml

The manifest-Dev contains these details:

enter image description here

But I am getting this error:

enter image description here

Could someone help me resolve this error? Thanks and much appreciated.

1

There are 1 best solutions below

0
On BEST ANSWER

I was able to resolve the error. The reason was .NET core version on my system was different than provided in the buildpack.yml file. As i changed from

dotnet-core:
  sdk: 3.1.0

to

dotnet-core:
  sdk: 6.0.23

it worked fine.