Skip to content

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

@pavelsavara

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

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