MixinProvider icon indicating copy to clipboard operation
MixinProvider copied to clipboard

Inheritance security rules violated by type razorengine.compilation.csharp.csharprazorcorelanguage

Open Yorkst opened this issue 8 years ago • 2 comments

  1. Got "System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Build.Framework, Version=12.0.0.0"

Solved by installing MSBuild 12

2)Got "start of process fsi exe failed"

Solved by setting environment variable "FSI" to "C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsi.exe"

  1. Then I got "generating help documentation failed"

which is in turn triggered by

"inheritance security rules violated by type razorengine.compilation.csharp.csharprazorcorelanguage"

Stacktrace shows call from .\docs\tools\generate.fsx at line 112 to Fsharp.Literate.Main.fs.

Yorkst avatar Apr 25 '16 22:04 Yorkst

You seem to be having problems building the non-existent documentation? You can remove that part of the build script, it is just there from the Project Scaffold stuff

pezipink avatar Apr 26 '16 10:04 pezipink

Thanks! Was build.sh supposed to be run at all?

Yorkst avatar Apr 26 '16 21:04 Yorkst