diff options
author | RanhaoXu <v-jex@microsoft.com> | 2021-04-06 16:29:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 16:29:40 +0300 |
commit | 38d866cbbf3eb19b0a1a523153a3303a9ac2b1f3 (patch) | |
tree | 081256e4cac97932da13de19e4c79f70945d0766 | |
parent | 35c9e2ba3d6b3ae2824a673c0235d275686861fd (diff) |
Copy typemap.xml to output (#540)
https://dev.azure.com/ceapex/Engineering/_workitems/edit/394298/
-rw-r--r-- | mdoc/Mono.Documentation/MDocUpdater.cs | 1 |
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); |