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:
authorRanhaoXu <v-jex@microsoft.com>2021-04-06 16:29:40 +0300
committerGitHub <noreply@github.com>2021-04-06 16:29:40 +0300
commit38d866cbbf3eb19b0a1a523153a3303a9ac2b1f3 (patch)
tree081256e4cac97932da13de19e4c79f70945d0766
parent35c9e2ba3d6b3ae2824a673c0235d275686861fd (diff)
Copy typemap.xml to output (#540)
https://dev.azure.com/ceapex/Engineering/_workitems/edit/394298/
-rw-r--r--mdoc/Mono.Documentation/MDocUpdater.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc/Mono.Documentation/MDocUpdater.cs b/mdoc/Mono.Documentation/MDocUpdater.cs
index 3e24f500..8d7463e0 100644
--- a/mdoc/Mono.Documentation/MDocUpdater.cs
+++ b/mdoc/Mono.Documentation/MDocUpdater.cs
@@ -320,6 +320,7 @@ namespace Mono.Documentation
if (File.Exists(typeMapPath))
{
Console.WriteLine($"Loading typemap file at {typeMapPath}");
+ File.Copy(typeMapPath, Path.Combine(srcPath, "TypeMap.xml"), true);
TypeMap map = TypeMap.FromXml(typeMapPath);
this.TypeMap = map;
FormatterManager.UpdateTypeMap(map);