Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Compile a SpreadsheetGear.dll file named SpreadsheetGear library with an error #751

Open
ezraShenglei opened this issue Jan 9, 2020 · 1 comment
Milestone

Comments

@ezraShenglei
Copy link

ezraShenglei commented Jan 9, 2020

Steps to Reproduce

  1. Compile a SpreadsheetGear.dll file named SpreadsheetGear library with an error

Expected Behavior

Expect to compile this SpreadsheetGear's .net library into a .framework file for use in xcode.

Actual Behavior

Using the objcgen command to directly compile this dll file and using nuget in a Xamarin.iOS Class Library project to reference this SpreadsheetGear library for related operations and then compiling this Class Library project dll file using objcgen will report errors.

Environment

my embeddinator-4000
/Users/wushenglei/.nuget/packages/embeddinator-4000/0.4.0/tools/objcgen
1.
objcgen /Users/wushenglei/.nuget/packages/spreadsheetgear/8.3.25/lib/netstandard1.3/SpreadsheetGear.dll --target=framework --platform=iOS --outdir=output -c --debug

2.objcgen /Users/wushenglei/Projects/hello-from-csharp/hello-from-csharp/bin/Debug/hello_from_csharp.dll --target=framework --platform=iOS --outdir=output -c --debug

Build Logs

https://gist.github.com/chamons/1d0becbbab9a9dde583c2af062cf48a9

@ezraShenglei ezraShenglei changed the title 编译第三方库的dll问题 Compile a SpreadsheetGear.dll file named SpreadsheetGear library with an error Jan 9, 2020
@chamons
Copy link
Contributor

chamons commented Jan 9, 2020

I've updated the issue to gist the build log (due to length).

The error in question is rather clear:

error EM0009: The feature `Converting type System.Text.StringBuilder to mono code` is not currently supported by the tool

@chamons chamons added this to the Future milestone Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants