Skip to content

Publish on a Traversal target uses Debug configuration instead of Release by default #602

Closed as not planned

Description

It seems that running dotnet publish on a traversal project uses Debug as the default configuration, whereas post .NET 8, the default configuration for publish should be release.

Activity

  1. MattKotsenas commented on Feb 5, 2025

    @MattKotsenas
    MemberAuthor

    I just realized that this is because the default TFM for Traversal projects is pre- net8.0, so the old behavior applies. The "fix" to this is to use a newer TFM for your Traversal project.

    Closing as "By Design", but leaving this note for the next person to run into this problem :)

  2. baronfel commented on Feb 5, 2025

    @baronfel
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions