lukevenediger / champ

A sensible static site generator that uses Razor templates with Markdown files and runs on Windows.
MIT License
24 stars 5 forks source link

Crash: Unhandled Exception - Cannot print exception string because Exception.ToString() failed #5

Open phrequencyviii-zz opened 9 years ago

phrequencyviii-zz commented 9 years ago

When I try to run champ as described in the documentation, I get a crash with the error message: Unhandled Exception - Cannot print exception string because Exception.ToString() failed. I'm on Windows 10 x64 TP 9926, maybe that is why, but just a heads up in case it isn't just me. Thanks!

JasonKoopmans commented 9 years ago

Its probably because the System.Web.Razor dll isn't in your GAC. Try using the -w flag and see if you get a reference to that DLL an error message using that. This seems like it might help [http://stackoverflow.com/questions/15874366/could-not-load-file-or-assembly-system-web-razor-or-one-of-its-dependencies] as there are a few ways to obtain that DLL.