sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Project directories containing a dot cannot resolve coreclr path

Open joelverhagen opened this issue 10 years ago • 6 comments

Project directories containing a dot cannot resolve coreclr path. A folder name without a dot (a.k.a. period, full stop) works just fine.

I used the 1.0.0-beta-001937 Windows x64 installer from the README: https://dotnetcli.blob.core.windows.net/dotnet/beta/Installers/Latest/dotnet-dev-win-x64.latest.exe

This seems like a really basic problem, so perhaps it is a silly user issue :smile:.

Steps to reproduce

mkdir foo.bar
cd foo.bar
dotnet new
dotnet restore
dotnet run

Expected behavior

Hello World!

Actual behavior

Could not resolve coreclr path

Environment data

dotnet --version output:

.NET Command Line Tools (1.0.0-beta-001937)

Product Information:
 Version:     1.0.0-beta-001937
 Commit Sha:  3616378130

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 Runtime Id:  win10-x64

joelverhagen avatar Mar 23 '16 18:03 joelverhagen

I was experiencing this but was unaware that it was due to the period. This affects 1.0.1.001589-1 for Linux as well.

colemickens avatar Mar 23 '16 18:03 colemickens

fairly strange cc @schellap any ideas?

brthor avatar Mar 23 '16 19:03 brthor

This is a corehost bug. Thanks for reporting it. PR dotnet/cli#2021 should address this.

schellap avatar Mar 24 '16 08:03 schellap

@schellap Will this PR also address dotnet/sdk#5436?

mmalolepszy avatar Mar 24 '16 11:03 mmalolepszy

Can this be closed now?

schellap avatar Mar 29 '16 11:03 schellap

Yup, I've tried with newer builds and things seem to be working. Feel free to close.

joelverhagen avatar Mar 29 '16 15:03 joelverhagen