Skip to content

Build error with ProjectReference #782

@ouroborosng

Description

@ouroborosng

Hi folks,

It's my first time deploying the project to Cloud Foundry runtime. However, it seems that I have encountered some issues that prevent successful deployment. I would appreciate any suggestions on how to address them.

Background

We are attempting to deploy the .NET 6 project, named EMSDashboard, to the SAP Cloud Foundry Runtime using buildpack. Within the .csproj file of the project, there are ProjectReferences to two other projects:

  • EMSLibrary
  • EMSRazorLibrary

We also defined a manifest file called mta.yml with content as follows:

---
version: 0.0.1-SNAPSHOT
applications:
- name: EMSDashboard
  path: .
  buildpacks:
    - dotnet_core_buildpack

Though, the resources within the ReferenceProject cannot be successfully found after running the cf push command.
image

Please refer to the attached log file “cf_push_projectreference_error.log” for the complete log messages.
cf_push_projectreference_error.log

Environment Info

CF version: 6.53.0+8e2b70a4a.2020-10-01
buildpack version: dotnet-core_buildpack-cached-cflinuxfs4-v2.4.7.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    ❓ Not scoped

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions