Skip to content

Building with OSS flag does not work anymore #6290

@Mart124

Description

@Mart124

Steps To Reproduce

Try to build using -p:DefineConstants="OSS".
It will fail as below :
server/src/Api/Billing/Controllers/ProviderBillingController.cs(142,27): error CS0103: The name 'ProviderPriceAdapter' does not exist in the current context [server/src/Api/Api.csproj]

This reports follows #6273 which has been fixed @amorask-bitwarden in #6278.

Expected Result

Should build properly.

Actual Result

Build fails.

Screenshots or Videos

No response

Additional Context

No response

Build Version

Last one.

Environment

Self-Hosted

Environment Details

No response

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions