Skip to content

[Investigation] Support building dotnet-core application from .sln file #307

@prerak-patel

Description

@prerak-patel

What happened?

Build a dotnet-core 5.0 application using buildpack with multiple submodules each with its own .csproj file and .sln file at the root.
Build fails with ERROR: No buildpack groups passed detection as it fails to locate project file in the root directory.

  • What were you attempting to do?
    Build the application using .sln file instead of building each module individually.

  • What did you expect to happen?
    Identify the dependencies through the .sln file and build the application

  • What was the actual behavior? Please provide log output, if possible.
    Build fails with ERROR: No buildpack groups passed detection.
    image

Build Configuration

  • What platform (pack, kpack, tekton buildpacks plugin, etc.) are you
    using? Please include a version.
    pack

  • What builder are you using? If custom, can you provide the output from pack inspect-builder <builder>?
    paketobuildpacks/builder:base

  • Can you provide a sample app or relevant configuration (buildpack.yml,
    nginx.conf, etc.)?
    https://github.com/dotnet-architecture/eShopOnWeb

Checklist

  • [y] I have included log output.
  • [y ] The log output includes an error message.
  • [n ] I have included steps for reproduction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📝 Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions