This buildpack lets .NET Core applications run on the Linux stacks.
Ruby C# JavaScript CSS HTML F# Shell
Failed to load latest commit information.
.bundle Move unit specs to `cf_spec` directory Jul 25, 2016
bin Add buildpack version checking Dec 21, 2016
cf_spec Retry failed specs Feb 8, 2017
compile-extensions @ e91d91d Update compile-extensions to e91d91dea3ceefdcf365ad6c0553b4b219628c05 Jan 25, 2017
lib Install node if INSTALL_NODE==true Jan 25, 2017
vendor/iniparse-1.4.2 Remove hidden files from vendored gem Nov 21, 2016
.gitignore Have git ignoring of buildpack zip packages use new, correct buildpac… Jul 25, 2016
.gitmodules Initial buildpack May 15, 2015
.rspec Move unit specs to `cf_spec` directory Jul 25, 2016
.rubocop.yml Publish msbuild applications during staging Jan 17, 2017
.travis.yml Add ruby 2.3.1 to Travis test matrix Aug 19, 2016
CHANGELOG Bump version to 1.0.11 [#138963333] Feb 8, 2017 Add note about tests to Nov 9, 2016
Dockerfile.libunwind Add libunwind 1.2, remove libunwind 1.1 Jan 18, 2017
LICENSE Initial license file May 14, 2015
NOTICE Correct copyright NOTICE Dec 21, 2016
PULL_REQUEST_TEMPLATE Create ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE Dec 23, 2016 Change Slack link to #buildpacks channel Jan 11, 2017
Rakefile Move unit specs to `cf_spec` directory Jul 25, 2016
VERSION Bump version to 1.0.11 [#138963333] Feb 8, 2017
cf.Gemfile Retry failed specs Feb 8, 2017
cf.Gemfile.lock Retry failed specs Feb 8, 2017
dotnet-sdk-tools.yml Add dotnet 1.0.0-preview4-004233 Dec 28, 2016
manifest.yml Add node 6.9.5, remove node 6.9.4 Feb 6, 2017

Cloud Foundry buildpack: .NET Core

CF Slack Join us on Slack

A Cloud Foundry buildpack for .NET Core applications.

For more information about ASP.NET Core see:


cf push my_app -b

Buildpack User Documentation

Official buildpack documentation can be found at

Building the Buildpack

These steps only apply to admins who wish to install the buildpack into their Cloud Foundry deployment. They are meant to be run in a Linux shell and assume that git, Ruby, and the bundler gem are already installed.

  1. Make sure you have fetched submodules

    git submodule update --init
  2. Get latest buildpack dependencies

    BUNDLE_GEMFILE=cf.Gemfile bundle
  3. Build the binary dependencies (optional)

    If you need to rebuild these, to change a version for example, see the included Dockerfiles. They contain comments specifying the commands to run. Then update manifest.yml to point to your files.

  4. Build the buildpack

    uncached means the buildpack's binary dependencies will be downloaded the first time an application is staged, and cached means they will be packaged in the buildpack ZIP.

    BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager [ --uncached | --cached ]
  5. Use in Cloud Foundry

    Upload the buildpack to your Cloud Foundry and optionally specify it by name

    cf create-buildpack custom_dotnet-core_buildpack 1
    cf push my_app -b custom_dotnet-core_buildpack

Unit Testing

Having performed the steps from Building:

BUNDLE_GEMFILE=cf.Gemfile bundle exec rake spec

Integration Testing

Integration tests are run using Machete.

To run all the tests (unit and integration):

CF_PASSWORD=admin BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-build


Find our guidelines here.

Reporting Issues

Open an issue on this project.