aws-dotnet-deploy icon indicating copy to clipboard operation
aws-dotnet-deploy copied to clipboard

Specifying Project Path with WSL Path Fails

Open ashovlin opened this issue 2 years ago • 0 comments

Describe the bug Specifying a --project-path from Windows with a WSL path fails

dotnet aws deploy --project-path \\\\wsl$\\Ubuntu\\home\\path\\to\\project.csproj

Failed to find a valid .csproj or .fsproj file at path \\\\wsl$\\Ubuntu\\home\\path\\to\\project.csproj

Originally reported via the VS Toolkit - https://github.com/aws/aws-toolkit-visual-studio/issues/263

Expected behavior Not entirely sure if this is expected to work. Per https://github.com/aws/aws-dotnet-deploy/pull/311 we're determining paths that start with \\ are invalid, but looks like this was to prevent SMB shared paths, not necessarily WSL.

Environment (please complete the following information):

  • CLI Version: [eg. 1.0.0] 0.47.26
  • Include the output of dotnet --info

This is a :bug: bug report

ashovlin avatar Jun 20 '22 20:06 ashovlin