It might work using the following method: Right click on the razor file then click open. There is no logic to it but this works for me.