runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Uninstalling 1.1.0-preview1 runtime breaks 1.0.1 runtime - Fix in 1.0.x

Open rakeshsinghranchi opened this issue 9 years ago • 3 comments

Steps to reproduce

  1. Install 1.0.1 runtime (I see that the C:\Program Files\dotnet\host\fxr\1.0.1 directory gets created)
  2. Install 1.1.0-preview1 runtime
  3. Uninstall 1.1.0-preview1 runtime (There is no longer a C:\Program Files\dotnet\host directory)

Expected behavior

$ dotnet

Microsoft .NET Core Shared Framework Host

  Version  : 1.0.1
  Build    : cee57bf6c981237d80aa1631cfe83cb9ba329f12

Usage: dotnet [common-options] [[options] path-to-application]

Common Options:
  --help                           Display .NET Core Shared Framework Host help.
  --version                        Display .NET Core Shared Framework Host version.

Options:
  --fx-version <version>           Version of the installed Shared Framework to use to run the application.
  --additionalprobingpath <path>   Path containing probing policy and assemblies to probe for.

Path to Application:
  The path to a .NET Core managed application, dll or exe file to execute.

If you are debugging the Shared Framework Host, set 'COREHOST_TRACE' to '1' in your environment.

To get started on developing applications for .NET Core, install .NET SDK from:
  http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409

Actual behavior

$ dotnet
A fatal error occured, the required library hostfxr.dll could not be found at C:\Program Files\dotnet

Environment data

dotnet --info output:

A fatal error occured, the required library hostfxr.dll could not be found at C:\Program Files\dotnet

rakeshsinghranchi avatar Feb 22 '17 03:02 rakeshsinghranchi

Refer similar fix in 2.0.0 : https://github.com/dotnet/core-setup/pull/1571#pullrequestreview-23143709

rakeshsinghranchi avatar Mar 03 '17 21:03 rakeshsinghranchi

@vivmishra Was this fixed with https://github.com/dotnet/core-setup/pull/1838? If so, please close the issue.

gkhanna79 avatar Apr 06 '17 18:04 gkhanna79

Fixed

vivmishra avatar Apr 06 '17 18:04 vivmishra