1

Closed

Problem with Redo-RazorGenerator

description

Hello,

I am using Enable-RazorGenerator on a MVC project and it works fine.

Then I tried to remove it using "Redo-RazorGenerator" but this does not remove the created generate.cs files or even the "RazorGenerator" as Custom Tool on each View.

Do I need to remove one by one?

I am using RazorGenerator.MVC 1.4.0.0.

Any idea how to solve this?

Thank You,
Miguel
Closed Jul 5, 2012 at 4:05 PM by davidebbo
Closing as this is just a minunderstanding on the command's semantic.

comments

pranavkm wrote Jul 5, 2012 at 3:47 PM

Redo-RazorGenerator simply runs the custom tool again. It's meant to re-sync your generated files with the current cshtml file in case they got out of sync. We don't quite have a cmdlet to remove razorgenerator as of now. But if you look at the ps scripts for Enable-RazorGenerator, you could invert it to clear out the value and run that.