Skip to content

Host restart when necessary to pick up a different assembly versionΒ #1023

@paulbatum

Description

@paulbatum

When working with changes to a project.json file or private/shared assemblies, its often necessary to manually restart the host process. The most common case is when an assembly that is already loaded by the host process is changed, e.g. changing a version number in a project.json file, or dropping a new version of a dll into a bin folder. Unfortunately the need for a restart is often not obvious the user, and doing the actual restart is slow (multiple clicks to get to the restart command, can take 30 seconds for the restart to take effect).

The experience would be much better if the host could detect common cases where a restart of the process is necessary such as:

  1. The project.lock.json file changed (maybe compare a before/after hash of the file?)
  2. A new version of a private/shared dll was installed

The host would then log a message and perform the restart.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions