Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Luo <basehello@icloud.com>2021-01-27 12:25:55 +0300
committerXiao Luo <basehello@icloud.com>2021-01-27 12:25:55 +0300
commit37ae438b80fa2b6e0c9518605c452e653a316006 (patch)
treeb730b7f81b6d5165da462aa07a8a640647aa80b8 /mdoc/mdoc.Test/BasicTests.cs
parentff124806fcf9f894f84409bfce7f6c3492ac6cbe (diff)
Fix the Mono.Cecil can't load .NET Core platform assemblies in WSL, macOS, and Ubuntu OS environment.
Diffstat (limited to 'mdoc/mdoc.Test/BasicTests.cs')
-rw-r--r--mdoc/mdoc.Test/BasicTests.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdoc/mdoc.Test/BasicTests.cs b/mdoc/mdoc.Test/BasicTests.cs
index adf2d639..22328b37 100644
--- a/mdoc/mdoc.Test/BasicTests.cs
+++ b/mdoc/mdoc.Test/BasicTests.cs
@@ -4,7 +4,6 @@ using System.IO;
using System.Linq;
using System.Xml.Linq;
using Mono.Cecil;
-using Mono.Documentation.Framework;
using Mono.Documentation.Updater;
namespace mdoc.Test
@@ -23,7 +22,7 @@ namespace mdoc.Test
if (!moduleCash.ContainsKey(filepath))
{
var fullpath = Path.Combine (Path.GetDirectoryName (this.GetType ().Module.Assembly.Location), filepath);
- var resolver = new DefaultAssemblyResolver ();
+ var resolver = new ExternalAssemblyResolver ();
var testAssemblyPath = Path.GetDirectoryName (this.GetType ().Module.Assembly.Location);
resolver.AddSearchDirectory (testAssemblyPath);