madskristensen / BrowserReloadOnSave

A Visual Studio extension
Other
27 stars 10 forks source link

Reload on save of CSHTML does not pick up change. #20

Closed aszalacinski closed 5 years ago

aszalacinski commented 5 years ago

Installed product versions

Description

Reload is not working when changing cshtml pages

Steps to recreate

  1. Install extension
  2. Edit cshtml file
  3. save file browser reloads
  4. change doesn't take affect.

Current behavior

Reload doesn't show edits.

Expected behavior

Reload should show edits

image Enable Reload on Save is... enabled

image Options are all set

The weird thing was, before I updated to VS 16.3.2 it was working fine. No issues. :/

aszalacinski commented 5 years ago

and here are the other extensions i have installed: image

aszalacinski commented 5 years ago

Turns out, the root cause in Core 3 is that you have to install Razor extension option in the Startup to get compilation to work. Once I did that, the need for this extension went away.