镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[wasm] dotnet run doesn't work for relative path #76609

Closed

Description

@pavelsavara

Description

dotnet run doesn't work for relative path to project file

Reproduction Steps

  • pull dotnet-wasm-todo-mvc sample
  • move the project into src folder
  • run C:\Dev\dotnet-wasm-todo-mvc>dotnet run --project src\TodoMVC.csproj

Expected behavior

it should be C:\Dev\dotnet-wasm-todo-mvc\src\bin\Debug\net7.0\browser-wasm\AppBundle\

Actual behavior

fails with An error occurred trying to start process 'dotnet' with working directory 'C:\Dev\dotnet-wasm-todo-mvc\bin\Debug\net7.0\browser-wasm\AppBundle\'. The directory name is invalid.

Regression?

no

Known Workarounds

step into src diretory

Configuration

NET7 RC1

Other information

No response

Activity

  1. added this to the 7.0.0 milestone on Oct 4, 2022
  2. pavelsavara commented on Oct 4, 2022

    @pavelsavara
    MemberAuthor
  3. self-assigned this
    on Oct 4, 2022
  4. radical commented on Oct 5, 2022

    @radical
    Member

    @pavelsavara which version are you using? The fix for this was backported to release/7.0 in #75508 .

  5. added
    needs-author-actionAn issue or pull request that requires more info or actions from the author.
    on Oct 5, 2022
  6. pavelsavara commented on Oct 5, 2022

    @pavelsavara
    MemberAuthor

    7.0.0-rc.1.22427.1 so this is RC1.
    And I also tested that applying the fix helps. Thanks!

  7. ghost locked as resolved and limited conversation to collaborators on Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmWebAssembly architecturearea-Build-mononeeds-author-actionAn issue or pull request that requires more info or actions from the author.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions