Closed siennathesane closed 5 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/168273602
The labels on this github issue will be updated when the story is started.
That project is multi-targeted to run as either net461
or netcoreapp2.1
. It makes sense that the buildpack wouldn't know what version of dotnet to use as two options have been specified.
It should work to either dotnet publish
first or drop one of the targetframeworks
from CloudFoundry.csproj
Ah, okay, I wasn't sure if it was a native push or required a publish. Thanks @TimHess
GIVEN
This version of the Samples repository
WHEN
I
cf push cloud-test --random-route
in theConfiguration/src/AspDotNetCore/CloudFoundry
directoryUSING
The
dotnet-core_buildpack-cflinuxfs3-v2.2.12.zip
buildpack from upstream cf and this cf version:THEN
I see these errors