Skip to content

Use --project instead of -p in csharp projects in every repository #198

Open

Description

@FreePhoenix888

Problem

Warning NETSDK1174: The abbreviation of -p for --project is deprecated. Please use --project.

Activity

  1. changed the title [-]Use --project instead of -p in csharp projects[/-] [+]Use --project instead of -p in csharp projects in every repository[/+] on Dec 15, 2022
  2. konard commented on Sep 11, 2025

    @konard
    Member

    ✅ Analysis Complete

    I've conducted a comprehensive search through the entire repository and found that no changes are required. The Bot repository is already fully compliant with the requirement to use --project instead of the deprecated -p flag.

    Findings:

    • ❌ No instances of deprecated -p flag found
    • ✅ Existing dotnet commands already use proper syntax
    • ✅ The one project-specific command uses --project correctly

    Current compliant usage in csharp/run.sh:

    dotnet run --project ./Platform.Bot/Platform.Bot.csproj $1 $2 $3 db.links HelloWorldSet 60

    This issue can be closed as the repository is already in the desired state.

    📝 PR: #275

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

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions