Skip to content

A Swiss Army knife for developers.

Added LinkedConfig.xml to DevToys.MonacoEditor

Etienne Baudouxa9e332f62c71
diff --git a/src/app/dev/DevToys.MonacoEditor/DevToys.MonacoEditor.csproj b/src/app/dev/DevToys.MonacoEditor/DevToys.MonacoEditor.csproj
index 9421cb2e2..8527c32fa 100644
--- a/src/app/dev/DevToys.MonacoEditor/DevToys.MonacoEditor.csproj
+++ b/src/app/dev/DevToys.MonacoEditor/DevToys.MonacoEditor.csproj
@@ -105,6 +105,9 @@
<None Include="ts-helpermethods\ts-helpermethods-Windows\tsconfig.json" />
<EmbeddedResource Include="WasmScripts\uno-monaco-helpers.js" />
<None Include="highlightjs\**" />
+ <EmbeddedResource Include="LinkerConfig.xml">
+ <LogicalName>$(AssemblyName).xml</LogicalName>
+ </EmbeddedResource>
</ItemGroup>
</When>
diff --git a/src/app/dev/DevToys.MonacoEditor/LinkerConfig.xml b/src/app/dev/DevToys.MonacoEditor/LinkerConfig.xml
new file mode 100644
index 000000000..65696b09d
--- /dev/null
+++ b/src/app/dev/DevToys.MonacoEditor/LinkerConfig.xml
@@ -0,0 +1,30 @@
+<linker>
+ <assembly fullname="Uno.UI" />
+ <assembly fullname="Microsoft.Extensions.Options" />
+
+ <assembly fullname="DevToys.MonacoEditor">
+ <type fullname="DevToys.MonacoEditor.WebInterop.DebugLogger">
+ <method signature="System.Void log(System.String)" />
+ </type>
+ <type fullname="DevToys.MonacoEditor.WebInterop.ParentAccessor">
+ <method signature="System.Object getValue(System.String)" />
+ <method signature="System.Void setValue(System.String,System.String)" />
+ <method signature="System.Void setValueWithType(System.String,System.String,System.String)" />
+ <method signature="System.Void getJsonValue(System.String,System.String)" />
+ <method signature="System.Boolean callAction(System.String)" />
+ <method signature="System.Boolean callActionWithParameters(System.String,System.String,System.String)" />
+ <method signature="System.Void callActionWithParameters(System.String,System.String,System.String,System.String)" />
+ <method signature="System.Void close()" />
+ </type>
+ <type fullname="DevToys.MonacoEditor.WebInterop.ThemeListener">
+ <method signature="System.Void getAccentColorHtmlHex(System.String)" />
+ <method signature="System.Void getCurrentThemeName(System.String)" />
+ <method signature="System.Void getIsHighContrast(System.String)" />
+ </type>
+ </assembly>
+
+ <assembly fullname="System.Core">
+ <!-- This is required by JSon.NET and any expression.Compile caller -->
+ <type fullname="System.Linq.Expressions*" />
+ </assembly>
+</linker>
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/LinkerConfig.xml b/src/app/dev/platforms/web/DevToys.Wasm/LinkerConfig.xml
index 1b1962c04..5ed9e064d 100644
--- a/src/app/dev/platforms/web/DevToys.Wasm/LinkerConfig.xml
+++ b/src/app/dev/platforms/web/DevToys.Wasm/LinkerConfig.xml
@@ -1,10 +1,10 @@
<linker>
- <assembly fullname="DevToys.Wasm" />
- <assembly fullname="Uno.UI" />
- <assembly fullname="Microsoft.Extensions.Options" />
+ <assembly fullname="DevToys.Wasm" />
+ <assembly fullname="Uno.UI" />
+ <assembly fullname="Microsoft.Extensions.Options" />
- <assembly fullname="System.Core">
- <!-- This is required by JSon.NET and any expression.Compile caller -->
- <type fullname="System.Linq.Expressions*" />
- </assembly>
+ <assembly fullname="System.Core">
+ <!-- This is required by JSon.NET and any expression.Compile caller -->
+ <type fullname="System.Linq.Expressions*" />
+ </assembly>
</linker>