.net-corebuildpacktanzu-application-service

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


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.


Solution

  • 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.