Skip to content

Commit dca241a

Browse files
committed
IKVM 8.7.0 Arm64 Support.
1 parent c70bf09 commit dca241a

3 files changed

Lines changed: 58 additions & 27 deletions

File tree

BioFormats.NET6.csproj

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,51 @@
66
<Nullable>enable</Nullable>
77
<PackageLicenseExpression>GPL-2.0-only</PackageLicenseExpression>
88
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
9-
<Description>Bioformats 7.0.1 java library converted to .NET6 with IKVM 8.6.4. Add nuget IKVM 8.6.4 to your project to use this library.</Description>
10-
<PackageReleaseNotes>Bioformats 7.0.1, IKVM 8.6.4 update.</PackageReleaseNotes>
9+
<Description>Bioformats 7.0.1. Built with IKVM Maven SDK for .NET6 x64 &amp; arm64. Follow readme installation instructions.</Description>
10+
<PackageReleaseNotes>Bioformats 7.0.1, IKVM 8.7.0 update.</PackageReleaseNotes>
1111
<PackageReadmeFile>Readme.md</PackageReadmeFile>
1212
<RepositoryType></RepositoryType>
1313
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
14-
<Version>7.0.1</Version>
14+
<Version>7.0.1.1</Version>
1515
<PackageProjectUrl>https://github.com/BiologyTools/BioFormatsNET6</PackageProjectUrl>
1616
<RepositoryUrl>https://github.com/ome/bioformats</RepositoryUrl>
1717
<PackageTags>bio-formats; ome; omero;</PackageTags>
1818
<GenerateDocumentationFile>False</GenerateDocumentationFile>
19-
</PropertyGroup>
19+
</PropertyGroup>
2020

21+
<PropertyGroup>
22+
<MavenAdditionalRepositories>ome=https://artifacts.openmicroscopy.org/artifactory/maven/;edu.ucar=https://maven.scijava.org/content/repositories/public/;</MavenAdditionalRepositories>
23+
</PropertyGroup>
24+
<ItemGroup>
25+
<MavenReference Include="bioformats_package">
26+
<GroupId>ome</GroupId>
27+
<ArtifactId>bioformats_package</ArtifactId>
28+
<Version>7.0.1</Version>
29+
</MavenReference>
30+
<MavenReference Include="cdm-core">
31+
<GroupId>edu.ucar</GroupId>
32+
<ArtifactId>cdm-core</ArtifactId>
33+
<Version>5.3.3</Version>
34+
</MavenReference>
35+
</ItemGroup>
36+
<Target Name="FixIkvmReference" AfterTargets="_GetMavenIkvmReferenceItems">
37+
<Message Importance="high" Text="$(IkvmMavenSdkDir)" />
38+
<ItemGroup>
39+
<IkvmReferenceItem Condition="'%(Identity)'=='maven$org.json:json:20230227'">
40+
<AssemblyVersion>1.0.0.0</AssemblyVersion>
41+
</IkvmReferenceItem>
42+
</ItemGroup>
43+
</Target>
44+
2145
<ItemGroup>
22-
<None Remove="bioformats_package.dll" />
23-
<None Remove="Readme.md" />
24-
</ItemGroup>
25-
26-
<ItemGroup>
27-
<Content Include="bioformats_package.dll">
28-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
29-
</Content>
3046
<Content Include="Readme.md">
3147
<Pack>True</Pack>
3248
<PackagePath>\</PackagePath>
3349
</Content>
3450
</ItemGroup>
3551

3652
<ItemGroup>
37-
<Reference Include="bioformats_package">
38-
<HintPath>bioformats_package.dll</HintPath>
39-
</Reference>
53+
<PackageReference Include="IKVM" Version="8.7.0" />
54+
<PackageReference Include="IKVM.Maven.Sdk" Version="1.6.0" />
4055
</ItemGroup>
41-
4256
</Project>

Readme.md

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
1-
Bioformats 7.0.1 (https://www.openmicroscopy.org/bio-formats/) Built with ikvm 8.6.4 for .NET6.
2-
Add nuget package IKVM to your project to use this library.
1+
Bioformats 7.0.1 (https://www.openmicroscopy.org/bio-formats/) Built with IKVM Maven SDK for .NET6.
32

4-
# Building
5-
Generated with the latest version of bioformats_package.jar with ikvmc.exe. As well as the following dependencies placed in folder "dependencies" in the same folder as ikvmc.exe the dependencies can be downloaded from Maven.
6-
- google-collect.1.0.jar
7-
8-
Then running ikvmc.exe from command line with the following command:
9-
10-
```./ikvmc bioformats_package.jar -target:library -recurse:dependencies *> output.txt```
11-
12-
This will generate the dll bioformats_package.dll.
3+
#Installation
4+
To add the bioformats_package using IKVM.Maven add the following to your project file.
5+
```
6+
<PropertyGroup>
7+
<MavenAdditionalRepositories>ome=https://artifacts.openmicroscopy.org/artifactory/maven/;edu.ucar=https://maven.scijava.org/content/repositories/public/;</MavenAdditionalRepositories>
8+
</PropertyGroup>
9+
<ItemGroup>
10+
<MavenReference Include="bioformats_package">
11+
<GroupId>ome</GroupId>
12+
<ArtifactId>bioformats_package</ArtifactId>
13+
<Version>7.0.1</Version>
14+
</MavenReference>
15+
<MavenReference Include="cdm-core">
16+
<GroupId>edu.ucar</GroupId>
17+
<ArtifactId>cdm-core</ArtifactId>
18+
<Version>5.3.3</Version>
19+
</MavenReference>
20+
</ItemGroup>
21+
<Target Name="FixIkvmReference" AfterTargets="_GetMavenIkvmReferenceItems">
22+
<Message Importance="high" Text="$(IkvmMavenSdkDir)" />
23+
<ItemGroup>
24+
<IkvmReferenceItem Condition="'%(Identity)'=='maven$org.json:json:20230227'">
25+
<AssemblyVersion>1.0.0.0</AssemblyVersion>
26+
</IkvmReferenceItem>
27+
</ItemGroup>
28+
</Target>
29+
```

bioformats_package.dll

-71 MB
Binary file not shown.

0 commit comments

Comments
 (0)