Two Versions of the .NET Core Buildpack are Installed in Pivotal Cloud Foundry
search cancel

Two Versions of the .NET Core Buildpack are Installed in Pivotal Cloud Foundry

book

Article ID: 297623

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

Symptoms:

After upgrading from Pivotal Application Service 1.8.x to 1.9x, the output of `cf buildpacks` shows that there are two versions of the .NET Core buildpack installed. One is called `dotnet-core-buildpack` while the other one is called `dotnet_core_buildpack.`

 

Environment


Cause

This is a known issue when upgrading from Pivotal Application Service 1.8 to 1.9. The name of the .NET Core buildpack has changed and this results in both the older and newer version of the buildpack being present after the upgrade.

 

Resolution

The resolution is simple. Delete the older version of the buildpack. In Pivotal Application Service 1.8, the buildpack was called `dotnet-core-buildpack` and in Pivotal Application Service 1.9, it is called `dotnet_core_buildpack.` 

Note how the old buildpack name has a dash in it while the new buildpack has underscores instead of the dashes. You can delete the old version by running `cf delete-buildpack dotnet-core-buildpack` as a platform administrator.