Skip to content

Commit 27eebb0

Browse files
committed
Up IKVM
1 parent 49b802d commit 27eebb0

File tree

6 files changed

+19
-7
lines changed

6 files changed

+19
-7
lines changed

Directory.Build.Java.props

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
<Project>
22

3-
<PropertyGroup>
4-
<LangVersion>1.8</LangVersion>
5-
<EnableDefaultItems>false</EnableDefaultItems>
6-
<CompileStatically>true</CompileStatically>
3+
<PropertyGroup Label="IKVM">
74
<ClassLoader>ikvm.runtime.AppDomainAssemblyClassLoader</ClassLoader>
5+
<EnableDefaultItems>false</EnableDefaultItems>
6+
<LangVersion>1.8</LangVersion>
7+
<Static>true</Static>
8+
</PropertyGroup>
9+
10+
<PropertyGroup Label="MSBuild">
11+
<!-- Skip EmittedNoClassDefFoundError & ClassFormatError -->
12+
<NoWarn>IKVMC0101;IKVMC0111;$(NoWarn)</NoWarn>
813
</PropertyGroup>
914

1015
</Project>

Packages.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<PackageReference Update="CommunityToolkit.Mvvm" Version="8.2.2" />
2020
<PackageReference Update="DotNetProjects.Extended.Wpf.Toolkit" Version="5.0.100" />
2121
<PackageReference Update="ExceptionReporter " Version="2.4.2" />
22-
<PackageReference Update="IKVM" Version="8.10.0-dev.62" />
22+
<PackageReference Update="IKVM" Version="8.10.0-dev.171" />
2323
<PackageReference Update="Microsoft.Build.Utilities.Core" Version="17.1.0" />
2424
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.1.0" />
2525
<PackageReference Update="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.2" />

cli/src/main/csharp/ch/cyberduck/cli/WindowsTerminal.cs

+4
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@
1717
//
1818

1919
using ch.cyberduck.cli;
20+
using ikvm.runtime;
21+
using IKVM.Attributes;
2022
using org.apache.commons.cli;
2123
using Console = System.Console;
2224

25+
[assembly: CustomAssemblyClassLoader(typeof(AppDomainAssemblyClassLoader))]
26+
2327
namespace Ch.Cyberduck.Cli
2428
{
2529
internal class WindowsTerminal : Terminal

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"msbuild-sdks": {
3-
"IKVM.NET.Sdk": "8.10.0-dev.62",
3+
"IKVM.NET.Sdk": "8.10.0-dev.171",
44
"Microsoft.Build.NoTargets": "3.3.0",
55
"Microsoft.Build.Traversal": "3.1.6"
66
}

nuget.config

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
</packageSources>
88
<packageSourceMapping>
99
<packageSource key="nuget.org">
10+
<package pattern="IKVM.ByteCode" />
1011
<package pattern="*" />
1112
</packageSource>
1213
<packageSource key="gh-iterate-ch">
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
using System.Runtime.InteropServices;
1+
using ikvm.runtime;
2+
using IKVM.Attributes;
23

34
[assembly: System.Windows.ThemeInfo(System.Windows.ResourceDictionaryLocation.None, System.Windows.ResourceDictionaryLocation.SourceAssembly)]
5+
[assembly: CustomAssemblyClassLoader(typeof(AppDomainAssemblyClassLoader))]

0 commit comments

Comments
 (0)