diff --git a/Directory.Build.Java.props b/Directory.Build.Java.props
index f970e9e6a91..945f2e59345 100644
--- a/Directory.Build.Java.props
+++ b/Directory.Build.Java.props
@@ -4,7 +4,6 @@
1.8
false
true
- ikvm.runtime.AppDomainAssemblyClassLoader
IKVMC0101;IKVMC0111;$(NoWarn)
diff --git a/cli/src/main/csharp/ch/cyberduck/cli/WindowsTerminal.cs b/cli/src/main/csharp/ch/cyberduck/cli/WindowsTerminal.cs
index 2c2e34950b4..22abe1d3b9e 100644
--- a/cli/src/main/csharp/ch/cyberduck/cli/WindowsTerminal.cs
+++ b/cli/src/main/csharp/ch/cyberduck/cli/WindowsTerminal.cs
@@ -17,9 +17,13 @@
//
using ch.cyberduck.cli;
+using ikvm.runtime;
+using IKVM.Attributes;
using org.apache.commons.cli;
using Console = System.Console;
+[assembly: CustomAssemblyClassLoader(typeof(AppDomainAssemblyClassLoader))]
+
namespace Ch.Cyberduck.Cli
{
internal class WindowsTerminal : Terminal
diff --git a/windows/src/main/csharp/Properties/AssemblyInfo.cs b/windows/src/main/csharp/Properties/AssemblyInfo.cs
index d630065294b..a45fedaa42e 100644
--- a/windows/src/main/csharp/Properties/AssemblyInfo.cs
+++ b/windows/src/main/csharp/Properties/AssemblyInfo.cs
@@ -1,3 +1,5 @@
-using System.Runtime.InteropServices;
+using ikvm.runtime;
+using IKVM.Attributes;
[assembly: System.Windows.ThemeInfo(System.Windows.ResourceDictionaryLocation.None, System.Windows.ResourceDictionaryLocation.SourceAssembly)]
+[assembly: CustomAssemblyClassLoader(typeof(AppDomainAssemblyClassLoader))]