Closed tpetricek closed 9 years ago
There is a bunch of possible causes for this:
I hope this helps identifying the issue!
@matthid - Thanks! I did not realize the package has two different versions - that must be it....
Did this issue resolve itself?
Not yet…
I did try changing the path (to the 45 version rather than 40 version), but then I started getting another error (sorry, don’t have an exact log, but it was saying something along the lines of “inheritance access violation”). So, I think I (or someone else!) need to look more into this.
Closing until it's clear what the issue is about. More info -> open again.
I was trying to use Suave.Razor on a Azure WebSite machine - this was through
app.fsx
script that was executed by FAKE. However, I was getting the following error:This is a bit weird because (AFAIK) there is no version of this library in GAC on the machine and RazorEngine references version 3.0.0.0 (so I actually do not get why it would even try loading version 2.0.0.0).
But I know that @matthid was debugging the same error in F# Formatting, so perhaps he can help us with this! @matthid - do you know what was the core of the problem? I tried to force load Razor (see the three Razor related commits here), but I'm not sure I was doing the same thing as you in F# Formatting.
Getting this to work would be very nice - using Suave with Razor was pretty nice experience :-). Though we could try supporting DotLiquid as a more light-weight alternative.