Ai
1 Star 1 Fork 0

bestkf/RazorEngine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
generateDocs.fsx 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
Matthias Dittrich 提交于 2015-12-03 03:10 +08:00 . paket update
// ----------------------------------------------------------------------------
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
// ----------------------------------------------------------------------------
open System.IO
// Force to load our build!
// As long as FSharp.Formatting is using the regular net45 build
// This should work as expected.
#I @"build/net45"
#r @"build/net45/System.Web.Razor.dll"
#r @"build/net45/RazorEngine.dll"
#load "packages/Yaaf.AdvancedBuilding/content/buildConfigDef.fsx"
#load @"buildConfig.fsx"
#load "packages/Yaaf.AdvancedBuilding/content/generateDocsInclude.fsx"
open Fake
// Force load of System.Web.Razor.dll
let someType = typeof<System.Web.Razor.RazorEngineHost>
let printAssemblies msg =
printfn "%s. Loaded Assemblies:" msg
System.AppDomain.CurrentDomain.GetAssemblies()
|> Seq.choose (fun a -> try Some (a.GetName().FullName, a.Location) with _ -> None)
//|> Seq.filter (fun l -> l.Contains ("Razor"))
|> Seq.iter (fun (n, l) -> printfn "\t- %s: %s" n l)
printAssemblies "starting documentation generation"
try RunTargetOrDefault "LocalDoc"
finally
printAssemblies "Documentation generation finished"
printfn "THE END"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/livecsharp/RazorEngine.git
git@gitee.com:livecsharp/RazorEngine.git
livecsharp
RazorEngine
RazorEngine
master

搜索帮助