3

I need to use Razor Generator as described here in a WPF project but I can't add references to System.Web.WebPages and System.Web.Razor required by RAZOR Generator. are these dlls unavailable in WPF in general ? or I should change some configurations ?

mohsen dorparasti
  • 8,107
  • 7
  • 41
  • 61

2 Answers2

3

Did you search in Extensions (see screen shot)? enter image description here

Kirill Bestemyanov
  • 11,946
  • 2
  • 24
  • 38
1

I don't know why , but by installing RazorGenerator.Templating through NuGet ,all errors disappear , and it's working now .

update :

I finally could find those dlls . the solution is :

1- first I changed target framework from .NET framework 4 client profile to .NET framework 4.

2- then scrolled down the list of .NET components , passed first list of system.web... , scrolled down , and I found a second list of system.web... at the bottom , they were there .

I hope this could help others

Community
  • 1
  • 1
mohsen dorparasti
  • 8,107
  • 7
  • 41
  • 61