Closed carsten-j closed 7 years ago
Yeah, I have seen this issue too I was investigating it a week or so ago but haven't had any time since.. It is however to do with fsharp.formatting / razor.engine I think this issue should probably be raised against fsharp.formatting as it isn't directly to do with project scaffold
👍
This is a bug in mono-4.4. Just add
mono:
- 4.2.3
to the .travis.yml
file and life is good.
What happens is that they get some encoding wrong and then cannot detect the warning:
decode(encode(chinese, utf16), utf8) ->
warning CS1701: Assuming assembly reference `FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' matches assembly `FSharp.Core, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. You may need to supply runtime policy
Took me a while to figure this out but CodeDom
seems to be completely broken with mono-4.4. I think they switched to Roslyn and got some things wrong in the process.
Reported the bug to mono: https://bugzilla.xamarin.com/show_bug.cgi?id=41979
Cl;osing old fixed bug
Description
When I download the scaffolding project and run build.sh I get a number of errors
Repro steps
Please provide the steps required to reproduce the problem
Please see the attached output for what I did
./build.sh No version specified. Downloading latest stable. Starting download from https://github.com/fsprojects/Paket/releases/download/2.63.2/paket.exe Done. Paket version 2.63.2.0 Downloading fsharp/FAKE:26cd2e6430a3ada972fa37a5a65606b2f7f427e3 modules/Octokit/Octokit.fsx to /Users/carsten/Projects/baz/paket-files/build/fsharp/FAKE/modules/Octokit/Octokit.fsx 6 seconds - ready. Paket version 2.63.2.0 Resolving packages for group Build:
NUnit.Runners 2.6.4 Locked version resolution written to /Users/carsten/Projects/baz/paket.lock Downloading fsharp/FAKE:b6f259615a85b9b4b715be927e7f60a34967e8fa modules/Octokit/Octokit.fsx to /Users/carsten/Projects/baz/paket-files/build/fsharp/FAKE/modules/Octokit/Octokit.fsx 5 seconds - ready.
Project Scaffold Init Script
Please answer a few questions and we will generate
two files:
build.fsx This will be your build script
docs/tools/generate.fsx This script will generate your
documentation
NOTE: Aside from the Project Name, you may leave any
of these blank, but you will need to change the defaults
in the generated scripts.
#####################################################
Project Name (used for solution/project files): baz Summary (a short description): test Description (longer description used by NuGet): longer test Author: carsten Tags (separated by spaces): F# Github User or Organization: Github Project Name (leave blank to use Project Name): Initialize git repo [Yn]: n moving /Users/carsten/Projects/baz/FSharp.ProjectScaffold.sln to /Users/carsten/Projects/baz/baz.sln
##################################################### /Users/carsten/Projects/baz/baz.sln updated #####################################################
##################################################### /Users/carsten/Projects/baz/src/baz/baz.fsproj updated #####################################################
##################################################### /Users/carsten/Projects/baz/src/baz/AssemblyInfo.fs updated #####################################################
##################################################### /Users/carsten/Projects/baz/src/baz/Library.fs updated #####################################################
##################################################### /Users/carsten/Projects/baz/src/baz/Script.fsx updated #####################################################
##################################################### /Users/carsten/Projects/baz/src/baz/paket.template updated #####################################################
##################################################### /Users/carsten/Projects/baz/tests/baz.Tests/baz.Tests.fsproj updated #####################################################
##################################################### /Users/carsten/Projects/baz/tests/baz.Tests/Tests.fs updated #####################################################
##################################################### /Users/carsten/Projects/baz/docs/content/index.fsx updated #####################################################
##################################################### /Users/carsten/Projects/baz/docs/content/tutorial.fsx updated #####################################################
#####################################################
Generated /Users/carsten/Projects/baz/build.fsx
#####################################################
#####################################################
Generated /Users/carsten/Projects/baz/docs/tools/generate.fsx
#####################################################
git remote -v Building project with version: LocalBuild Shortened DependencyGraph for Target All: <== All <== GenerateDocs <== GenerateReferenceDocs <== RunTests <== CopyBinaries <== Build <== AssemblyInfo <== Clean <== GenerateHelp <== CleanDocs
The resulting target order is:
Build started 5/2/2016 7:14:51 AM.
Project "/Users/carsten/Projects/baz/baz.sln" (Rebuild target(s)): Target ValidateSolutionConfiguration: Building solution configuration "Release|Any CPU". Target Rebuild: Project "/Users/carsten/Projects/baz/src/baz/baz.fsproj" (Rebuild target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Created directory "./bin/Release/" Created directory "obj/Release/" Target CopyFilesMarkedCopyLocal: Copying file from '/Users/carsten/Projects/baz/packages/FSharp.Core/lib/net40/FSharp.Core.dll' to '/Users/carsten/Projects/baz/src/baz/bin/Release/FSharp.Core.dll' Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target CoreCompile: Tool /Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.5/fsc.exe execution started with arguments: -o:obj/Release/baz.dll --debug:pdbonly --noframework --define:MONO --doc:./bin/Release/baz.xml --optimize+ -r:../../packages/FSharp.Core/lib/net40/FSharp.Core.dll -r:/Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.0-api/mscorlib.dll -r:/Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.0-api/System.dll -r:/Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.0-api/System.Numerics.dll -r:/Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.0-api/System.Core.dll --target:library --warn:3 --warnaserror:76 --fullpaths --flaterrors --highentropyva- --warnon:1182 Library.fs F# Compiler for F# 4.0 (Open Source Edition) Freely distributed under the Apache 2.0 Open Source License /Users/carsten/Projects/baz/src/baz/Library.fs(16,13): warning FS1182: The value 'num' is unused Target _CopyAppConfigFile: Copying file from '/Users/carsten/Projects/baz/src/baz/App.config' to '/Users/carsten/Projects/baz/src/baz/bin/Release/baz.dll.config' Target DeployOutputFiles: Copying file from '/Users/carsten/Projects/baz/src/baz/obj/Release/baz.dll.mdb' to '/Users/carsten/Projects/baz/src/baz/bin/Release/baz.dll.mdb' Copying file from '/Users/carsten/Projects/baz/src/baz/obj/Release/baz.dll' to '/Users/carsten/Projects/baz/src/baz/bin/Release/baz.dll' Done building project "/Users/carsten/Projects/baz/src/baz/baz.fsproj". Project "/Users/carsten/Projects/baz/tests/baz.Tests/baz.Tests.fsproj" (Rebuild target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Created directory "bin/Release/" Created directory "obj/Release/" Target CopyFilesMarkedCopyLocal: Copying file from '/Users/carsten/Projects/baz/packages/FSharp.Core/lib/net40/FSharp.Core.dll' to '/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/FSharp.Core.dll' Copying file from '/Users/carsten/Projects/baz/packages/test/NUnit/lib/nunit.framework.dll' to '/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/nunit.framework.dll' Copying file from '/Users/carsten/Projects/baz/src/baz/bin/Release/baz.dll' to '/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/baz.dll' Copying file from '/Users/carsten/Projects/baz/src/baz/bin/Release/baz.dll.mdb' to '/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/baz.dll.mdb' Copying file from '/Users/carsten/Projects/baz/src/baz/bin/Release/baz.xml' to '/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/baz.xml' Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target CoreCompile: Tool /Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.5/fsc.exe execution started with arguments: -o:obj/Release/baz.Tests.dll --debug:pdbonly --noframework --define:MONO --optimize+ -r:../../packages/FSharp.Core/lib/net40/FSharp.Core.dll -r:/Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.0-api/mscorlib.dll -r:/Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.0-api/System.dll -r:/Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.0-api/System.Numerics.dll -r:../../packages/test/NUnit/lib/nunit.framework.dll -r:/Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.0-api/System.Core.dll -r:/Users/carsten/Projects/baz/src/baz/bin/Release//baz.dll --target:library --warn:3 --warnaserror:76 --fullpaths --flaterrors --highentropyva- Tests.fs F# Compiler for F# 4.0 (Open Source Edition) Freely distributed under the Apache 2.0 Open Source License Target _CopyAppConfigFile: Copying file from '/Users/carsten/Projects/baz/tests/baz.Tests/App.config' to '/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/baz.Tests.dll.config' Target DeployOutputFiles: Copying file from '/Users/carsten/Projects/baz/tests/baz.Tests/obj/Release/baz.Tests.dll.mdb' to '/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/baz.Tests.dll.mdb' Copying file from '/Users/carsten/Projects/baz/tests/baz.Tests/obj/Release/baz.Tests.dll' to '/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/baz.Tests.dll' Done building project "/Users/carsten/Projects/baz/tests/baz.Tests/baz.Tests.fsproj". Done building project "/Users/carsten/Projects/baz/baz.sln".
Build succeeded.
Warnings:
/Users/carsten/Projects/baz/baz.sln (Rebuild) -> (Rebuild target) -> /Users/carsten/Projects/baz/src/baz/baz.fsproj (Rebuild) -> /Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.5/Microsoft.FSharp.Targets (CoreCompile target) ->
Time Elapsed 00:00:04.6860010 Finished Target: Build Starting Target: CopyBinaries (==> Build) Creating /Users/carsten/Projects/baz/bin/baz Finished Target: CopyBinaries Starting Target: RunTests (==> CopyBinaries) /Users/carsten/Projects/baz/packages/test/NUnit.Runners/tools/nunit-console.exe "-nologo" "-noshadow" "-labels" "/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/baz.Tests.dll" "-xml:TestResults.xml" /Library/Frameworks/Mono.framework/Commands/mono "/Users/carsten/Projects/baz/packages/test/NUnit.Runners/tools/nunit-console.exe" "-nologo" "-noshadow" "-labels" "/Users/carsten/Projects/baz/tests/baz.Tests/bin/Release/baz.Tests.dll" "-xml:TestResults.xml" WARNING: The runtime version supported by this application is unavailable. Using default runtime: v4.0.30319 ProcessModel: Default DomainUsage: Single Execution Runtime: mono-4.0 ***\ baz.Tests.hello returns 42 42
Tests run: 1, Errors: 0, Failures: 0, Inconclusive: 0, Time: 0.0335104 seconds Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
Finished Target: RunTests Starting Target: CleanDocs Deleting contents of docs/output Finished Target: CleanDocs Starting Target: GenerateHelp (==> CleanDocs) /Users/carsten/Projects/baz/docs/content/release-notes.md does not exist. /Users/carsten/Projects/baz/docs/content/license.md does not exist. Building documentation (Default), this could take some time, please wait... /Library/Frameworks/Mono.framework/Commands/mono "/Users/carsten/Projects/baz/packages/build/FAKE/tools/FAKE.exe" --fsiargs -d:FAKE --define:RELEASE --define:HELP "generate.fsx" FSharp.Formatting Information: 0 : FSharp.Formatting Logging setup! Yaaf.FSharp.Scriping Information: 0 : Yaaf.FSharp.Scripting Logging setup! Copying file: /Users/carsten/Projects/baz/docs/output/img/logo-template.pdn Copying file: /Users/carsten/Projects/baz/docs/output/img/logo.png Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/style.css Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/style.css.bak Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/style_light.css Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/tips.js Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/img/github-blue.png Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/img/github.png Generating '/Users/carsten/Projects/baz/docs/tools/../content/index.html' FSharp.Formatting Critical: 0 : Processing the file 'docpage' failed Source written to: '/var/folders/v6/yvw4znkn1ds037st24hlqqlw0000gn/T/tmpe9b8ae5.tmp.cs' Compilation errors:
FsiEvaluationException:
Error: System.Exception: Generating HTML failed. at FSharp.Literate.RazorRender.handleCompile[a](System.String source, Microsoft.FSharp.Core.FSharpFunc:0
at FSharp.Literate.Templating.generateFile (Microsoft.FSharp.Core.FSharpOption:0
at FSharp.Literate.Templating.processFile (Microsoft.FSharp.Core.FSharpOption:0
at <StartupCode$FSharp-Literate>.$Main+processScriptFile@184.Invoke (System.String file, System.String output) <0x8981bb0 + 0x00103> in :0
at Microsoft.FSharp.Core.FSharpFunc:0
at <StartupCode$FSharp-Literate>.$Main.processDirectory@199 (Microsoft.FSharp.Core.FSharpOption:0
at FSI_0005.Generate.buildDocumentation () <0x81ff410 + 0x00263> in :0
at <StartupCode$FSI_0005>.$FSI_0005_Generate$fsx.main@ () <0x81faf70 + 0x00a6f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x1a7c510 + 0x000a1> in :0
Stopped due to error
2 f) <0xe871b18 + 0x00577> in <filename unknown>:0 at FSharp.Literate.RazorRender.ProcessFileModel[b](System.Type modelType, System.Object model, Microsoft.FSharp.Core.FSharpOption
1 properties) <0xe8719b0 + 0x00073> in1 references, System.String contentTag, IEnumerable
1 parameters, Microsoft.FSharp.Core.FSharpOption1 templateOpt, System.String output, IEnumerable
1 layoutRoots) <0xe86e3f8 + 0x00187> in1 references, FSharp.Literate.LiterateDocument doc, System.String output, FSharp.Literate.ProcessingContext ctx) <0xd2844a0 + 0x003ab> in <filename unknown>:0 at FSharp.Literate.Literate.ProcessScriptFile (System.String input, Microsoft.FSharp.Core.FSharpOption
1 templateFile, Microsoft.FSharp.Core.FSharpOption1 output, Microsoft.FSharp.Core.FSharpOption
1 format, Microsoft.FSharp.Core.FSharpOption1 formatAgent, Microsoft.FSharp.Core.FSharpOption
1 prefix, Microsoft.FSharp.Core.FSharpOption1 compilerOptions, Microsoft.FSharp.Core.FSharpOption
1 lineNumbers, Microsoft.FSharp.Core.FSharpOption1 references, Microsoft.FSharp.Core.FSharpOption
1 fsiEvaluator, Microsoft.FSharp.Core.FSharpOption1 replacements, Microsoft.FSharp.Core.FSharpOption
1 includeSource, Microsoft.FSharp.Core.FSharpOption1 layoutRoots, Microsoft.FSharp.Core.FSharpOption
1 generateAnchors, Microsoft.FSharp.Core.FSharpOption1 assemblyReferences, Microsoft.FSharp.Core.FSharpOption
1 customizeDocument) <0x8981cd0 + 0x000d7> in2[T,TResult].InvokeFast[V] (Microsoft.FSharp.Core.FSharpFunc
2 func, Microsoft.FSharp.Core.T arg1, Microsoft.FSharp.Core.TResult arg2) <0x2dd8d08 + 0x0005b> in1 format, Boolean processRecursive, Microsoft.FSharp.Core.FSharpFunc
2 processScriptFile, Microsoft.FSharp.Core.FSharpFunc2 processMarkdown, System.String indir, System.String outdir) <0x89801f8 + 0x007b7> in <filename unknown>:0 at FSharp.Literate.Literate.ProcessDirectory (System.String inputDirectory, Microsoft.FSharp.Core.FSharpOption
1 templateFile, Microsoft.FSharp.Core.FSharpOption1 outputDirectory, Microsoft.FSharp.Core.FSharpOption
1 format, Microsoft.FSharp.Core.FSharpOption1 formatAgent, Microsoft.FSharp.Core.FSharpOption
1 prefix, Microsoft.FSharp.Core.FSharpOption1 compilerOptions, Microsoft.FSharp.Core.FSharpOption
1 lineNumbers, Microsoft.FSharp.Core.FSharpOption1 references, Microsoft.FSharp.Core.FSharpOption
1 fsiEvaluator, Microsoft.FSharp.Core.FSharpOption1 replacements, Microsoft.FSharp.Core.FSharpOption
1 includeSource, Microsoft.FSharp.Core.FSharpOption1 layoutRoots, Microsoft.FSharp.Core.FSharpOption
1 generateAnchors, Microsoft.FSharp.Core.FSharpOption1 assemblyReferences, Microsoft.FSharp.Core.FSharpOption
1 processRecursive, Microsoft.FSharp.Core.FSharpOption`1 customizeDocument) <0x81ffb60 + 0x001b3> inOutput: [Loading /Users/carsten/Projects/baz/packages/build/FSharp.Formatting/FSharp.Formatting.fsx Loading /Users/carsten/Projects/baz/docs/tools/generate.fsx] FSharp.Formatting Information: 0 : FSharp.Formatting Logging setup! Yaaf.FSharp.Scriping Information: 0 : Yaaf.FSharp.Scripting Logging setup! Copying file: /Users/carsten/Projects/baz/docs/output/img/logo-template.pdn Copying file: /Users/carsten/Projects/baz/docs/output/img/logo.png Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/style.css Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/style.css.bak Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/style_light.css Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/tips.js Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/img/github-blue.png Copying styles and scripts: /Users/carsten/Projects/baz/docs/output/content/img/github.png Generating '/Users/carsten/Projects/baz/docs/tools/../content/index.html' Binding session to '/Users/carsten/Projects/baz/packages/build/FSharp.Formatting/../FSharpVSPowerTools.Core/lib/net45/FSharpVSPowerTools.Core.dll'... Binding session to '/Users/carsten/Projects/baz/packages/build/FSharp.Formatting/../FSharp.Compiler.Service/lib/net45/FSharp.Compiler.Service.dll'... Binding session to '/Users/carsten/Projects/baz/packages/build/FSharp.Formatting/lib/net40/FSharp.Markdown.dll'... Binding session to '/Users/carsten/Projects/baz/packages/build/FSharp.Formatting/lib/net40/RazorEngine.dll'... FSharp.Formatting Critical: 0 : Processing the file 'docpage' failed Source written to: '/var/folders/v6/yvw4znkn1ds037st24hlqqlw0000gn/T/tmpe9b8ae5.tmp.cs' Compilation errors:
Input: /Users/carsten/Projects/baz/docs/tools/generate.fsx
Exception: Yaaf.FSharp.Scripting.FsiEvaluationException: Error while compiling or executing fsharp snippet. ---> System.Exception: Operation failed. The error text has been print the error stream. To return the corresponding FSharpErrorInfo use the EvalInteractionNonThrowing, EvalScriptNonThrowing or EvalExpressionNonThrowing at Microsoft.FSharp.Compiler.Interactive.Shell+FsiEvaluationSession.commitResult[a,b](Microsoft.FSharp.Core.FSharpChoice:0
at Yaaf.FSharp.Scripting.Helper.redirectOut@1044[a](Boolean preventStdOut, Yaaf.FSharp.Scripting.OutStreamHelper out, Yaaf.FSharp.Scripting.OutStreamHelper err, Microsoft.FSharp.Core.FSharpFunc:0
System.Exception: Generating HTML failed.
at FSharp.Literate.RazorRender.handleCompile[a] (System.String source, Microsoft.FSharp.Core.FSharpFunc:0
at FSharp.Literate.Templating.generateFile (Microsoft.FSharp.Core.FSharpOption:0
at FSharp.Literate.Templating.processFile (Microsoft.FSharp.Core.FSharpOption:0
at <StartupCode$FSharp-Literate>.$Main+processScriptFile@184.Invoke (System.String file, System.String output) <0x8981bb0 + 0x00103> in :0
at Microsoft.FSharp.Core.FSharpFunc:0
at <StartupCode$FSharp-Literate>.$Main.processDirectory@199 (Microsoft.FSharp.Core.FSharpOption:0
at FSI_0005.Generate.buildDocumentation () <0x81ff410 + 0x00263> in :0
at <StartupCode$FSI_0005>.$FSI_0005_Generate$fsx.main@ () <0x81faf70 + 0x00a6f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x1a7c510 + 0x000a1> in :0
Stopped due to error
2 res) <0x80621f0 + 0x0014f> in <filename unknown>:0 at Microsoft.FSharp.Compiler.Interactive.Shell+FsiEvaluationSession.EvalScript (System.String filePath) <0x81ab748 + 0x0003b> in <filename unknown>:0 at Yaaf.FSharp.Scripting.Helper+evalScript@1097.Invoke (System.String arg00) <0x81ab718 + 0x0001f> in <filename unknown>:0 at Yaaf.FSharp.Scripting.Helper+saveScript@1090-1[a].Invoke (System.String path) <0x81ab648 + 0x000bb> in <filename unknown>:0 at Yaaf.FSharp.Scripting.Helper+save_@1072-2[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) <0x795b950 + 0x0001d> in <filename unknown>:0 at Yaaf.FSharp.Scripting.Helper.consoleCapture[a](System.IO.TextWriter out, System.IO.TextWriter err, Microsoft.FSharp.Core.FSharpFunc
2 f) <0x2de9530 + 0x00052> in2 f) <0x2de9258 + 0x00277> in <filename unknown>:0 at Yaaf.FSharp.Scripting.Helper+save_@1071-1[a].Invoke (System.String text) <0x795b5d8 + 0x000f3> in <filename unknown>:0 --- End of inner exception stack trace --- at Yaaf.FSharp.Scripting.Helper+save_@1071-1[a].Invoke (System.String text) <0x795b5d8 + 0x00253> in <filename unknown>:0 at Yaaf.FSharp.Scripting.Helper+session@1100.Yaaf-FSharp-Scripting-IFsiSession-EvalScriptWithOutput (System.String ) <0x81ab628 + 0x0001a> in <filename unknown>:0 at Fake.FSIHelper.runScriptUncached (Boolean useCache, System.String scriptPath, IEnumerable
1 fsiOptions, Boolean printDetails, Fake.CacheInfo cacheInfo, System.IO.TextWriter out, System.IO.TextWriter err) <0x2dab7a0 + 0x0077d> in2 f) <0xe871b18 + 0x00577> in <filename unknown>:0 at FSharp.Literate.RazorRender.ProcessFileModel[b](System.Type modelType, System.Object model, Microsoft.FSharp.Core.FSharpOption
1 properties) <0xe8719b0 + 0x00073> in1 references, System.String contentTag, IEnumerable
1 parameters, Microsoft.FSharp.Core.FSharpOption1 templateOpt, System.String output, IEnumerable
1 layoutRoots) <0xe86e3f8 + 0x00187> in1 references, FSharp.Literate.LiterateDocument doc, System.String output, FSharp.Literate.ProcessingContext ctx) <0xd2844a0 + 0x003ab> in <filename unknown>:0 at FSharp.Literate.Literate.ProcessScriptFile (System.String input, Microsoft.FSharp.Core.FSharpOption
1 templateFile, Microsoft.FSharp.Core.FSharpOption1 output, Microsoft.FSharp.Core.FSharpOption
1 format, Microsoft.FSharp.Core.FSharpOption1 formatAgent, Microsoft.FSharp.Core.FSharpOption
1 prefix, Microsoft.FSharp.Core.FSharpOption1 compilerOptions, Microsoft.FSharp.Core.FSharpOption
1 lineNumbers, Microsoft.FSharp.Core.FSharpOption1 references, Microsoft.FSharp.Core.FSharpOption
1 fsiEvaluator, Microsoft.FSharp.Core.FSharpOption1 replacements, Microsoft.FSharp.Core.FSharpOption
1 includeSource, Microsoft.FSharp.Core.FSharpOption1 layoutRoots, Microsoft.FSharp.Core.FSharpOption
1 generateAnchors, Microsoft.FSharp.Core.FSharpOption1 assemblyReferences, Microsoft.FSharp.Core.FSharpOption
1 customizeDocument) <0x8981cd0 + 0x000d7> in2[T,TResult].InvokeFast[V] (Microsoft.FSharp.Core.FSharpFunc
2 func, Microsoft.FSharp.Core.T arg1, Microsoft.FSharp.Core.TResult arg2) <0x2dd8d08 + 0x0005b> in1 format, Boolean processRecursive, Microsoft.FSharp.Core.FSharpFunc
2 processScriptFile, Microsoft.FSharp.Core.FSharpFunc2 processMarkdown, System.String indir, System.String outdir) <0x89801f8 + 0x007b7> in <filename unknown>:0 at FSharp.Literate.Literate.ProcessDirectory (System.String inputDirectory, Microsoft.FSharp.Core.FSharpOption
1 templateFile, Microsoft.FSharp.Core.FSharpOption1 outputDirectory, Microsoft.FSharp.Core.FSharpOption
1 format, Microsoft.FSharp.Core.FSharpOption1 formatAgent, Microsoft.FSharp.Core.FSharpOption
1 prefix, Microsoft.FSharp.Core.FSharpOption1 compilerOptions, Microsoft.FSharp.Core.FSharpOption
1 lineNumbers, Microsoft.FSharp.Core.FSharpOption1 references, Microsoft.FSharp.Core.FSharpOption
1 fsiEvaluator, Microsoft.FSharp.Core.FSharpOption1 replacements, Microsoft.FSharp.Core.FSharpOption
1 includeSource, Microsoft.FSharp.Core.FSharpOption1 layoutRoots, Microsoft.FSharp.Core.FSharpOption
1 generateAnchors, Microsoft.FSharp.Core.FSharpOption1 assemblyReferences, Microsoft.FSharp.Core.FSharpOption
1 processRecursive, Microsoft.FSharp.Core.FSharpOption`1 customizeDocument) <0x81ffb60 + 0x001b3> inRunning build failed. Error: System.Exception: generating reference documentation failed at FSI_0005.Build.buildDocumentationTarget (System.String fsiargs, System.String target) <0x9febac8 + 0x00157> in:0
at FSI_0005.Build.generateHelp' (Boolean fail, Boolean debug) <0x9feb928 + 0x0003b> in :0
Build Time Report
Target Duration
Clean 00:00:00.0018745 AssemblyInfo 00:00:00.0129886 Build 00:00:04.8989804 CopyBinaries 00:00:00.0073456 RunTests 00:00:00.7655741 CleanDocs 00:00:00.0020104 Total: 00:00:16.0254994
Status: Failure
1) System.Exception: generating reference documentation failed at FSI_0005.Build.buildDocumentationTarget (System.String fsiargs, System.String target) <0x9febac8 + 0x00157> in:0
at FSI_0005.Build.generateHelp' (Boolean fail, Boolean debug) <0x9feb928 + 0x0003b> in:0
Expected behavior
Please provide a description of the behavior you expect.
Build.sh runs without any errors
Actual behavior
Please provide a description of the actual behavior you observe. Build.sh fails with the following error: 1) System.Exception: generating reference documentation failed at FSI_0005.Build.buildDocumentationTarget (System.String fsiargs, System.String target) <0x9febac8 + 0x00157> in:0
at FSI_0005.Build.generateHelp' (Boolean fail, Boolean debug) <0x9feb928 + 0x0003b> in :0
Known workarounds
Please provide a description of any known workarounds.
Related information
mono --version Mono JIT compiler version 4.4.0 (mono-4.4.0-branch/fcf7a6d Tue Apr 26 11:53:52 EDT 2016) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: normal SIGSEGV: altstack Notification: kqueue Architecture: x86 Disabled: none Misc: softdebug LLVM: yes(3.6.0svn-mono-master/a173357) GC: sgen