Skip to content

Could not resolve coreclr path when invoking a dotnet tool #5459

@prafullbhosale

Description

@prafullbhosale

Steps to reproduce

Create a web application
Add a tool like dotnet-ef / dotnet-aspnet-codegenerator
Invoke the tool
for eg:

dotnet aspnet-codegenerator -h

Expected behavior

It shows the help text (or does whatever the tool is expected to do)

Actual behavior

Could not resolve coreclr path

Environment data

dotnet --version output:

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

Product Information:
 Version:     1.0.0-beta-001943
 Commit Sha:  c06e1b7a0b

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

where dotnet output:

C:\Program Files (x86)\dotnet\dotnet.exe

Attached trace
Full Trace for invoking tool.txt

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions