環境
Windows 2012 R2, IIS, NPOI v2.1.1.0
.net 3.x , 應用程式集區為 32 位元
Hello! 我是 RM
在前一篇「使用 OpenTracing - Jaeger (BFv3 使用 Fody)」,我們使用 MethodBoundaryAspect.Fody 來處理 OpenTracing 的程式碼,但是在有些 async 及 Overloading methods 時,會有修改 il 出錯而無法建置的狀況。 所以我們可以改用 PostSharp 的 OnMethodBoundaryAspect 來處理就沒有問題了。
今天在執行程式時,居然噴「Inheritance security rules violated by type: ‘System.Net.Http.WebRequestHandler’.」的錯誤。
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true