C# 如何为.Net嵌入构建ObjGen工具(Github Embeddedinator-4000)?
第五次尝试(2020年3月24日)C# 如何为.Net嵌入构建ObjGen工具(Github Embeddedinator-4000)?,c#,.net,xamarin,xamarin.ios,mono-embedding,C#,.net,Xamarin,Xamarin.ios,Mono Embedding,第五次尝试(2020年3月24日) 我的步骤是让它建立在Mac上 1. Clone github > Embeddinator-4000 git clone https://github.com/mono/Embeddinator-4000.git 2. cd into the cloned dir 3. Install other stuff: git submodule update --recursive --init 4. Build objcgen cd objcgen
我的步骤是让它建立在Mac上
1. Clone github > Embeddinator-4000
git clone https://github.com/mono/Embeddinator-4000.git
2. cd into the cloned dir
3. Install other stuff:
git submodule update --recursive --init
4. Build objcgen
cd objcgen
make
这将获得“0个错误”,但“未找到shellcheck工具”,对此我无法找到解决方案
我无法让objcgen运行C#推荐的示例:
cd ~/Projects/hello-from-csharp
objcgen ~/Projects/hello-from-csharp/hello-from-csharp/bin/Debug/hello-from-csharp.dll --target=framework --platform=iOS --outdir=output -c --debug
或者使用Github>Embeddedinator-4000中的示例:
Use mono ./bin/Debug/objcgen.exe --gen=Obj-C -o ./Output ManagedAssembly1.dll
我的步骤是让它建立在Mac上
1. Clone github > Embeddinator-4000
git clone https://github.com/mono/Embeddinator-4000.git
2. cd into the cloned dir
3. Install other stuff:
git submodule update --recursive --init
4. Build objcgen
cd objcgen
make
git克隆
git子模块更新--递归--初始化
cd objcgen
制造
使裸体