NullExp-Team / builders_act_maker

Приложение для удобного создания, редактирования, сохранения и формирования актов освидетельствования скрытых работ и закрывающих актов в формате excel для закрытий. Написано по заказу строительной компании.
5 stars 0 forks source link

How generate ActBuilder.dll #11

Open tranoffice opened 6 months ago

tranoffice commented 6 months ago

Hello, I cannot correctly generate the dll ActBuilder.dll: what is the exact command please? with the "dotnet publish /p:NativeLib=Shared /p:SelfContained=true -r win-x64 -c debug" instruction, the functions of the dll are not visible by the dart plugin whereas with your ActBuilder.dll (directory : builders_act_maker/plugin/act_builder_lib), everything goes well. Thanking you in advance. Bertrand

iamgirya commented 5 months ago

Hi I'm thinking of several possible problems: 1) Maybe debug mode does not support FFI, try to build in release 2) Maybe a version .net does not support this particular command. I used it.net 6.0 3) The wrong operating system? 4) Microsoft has not been added.DotNet.ILCompiler -v 7.0.0-*?

If all the files are in the right places, then the compiler is definitely the problem.

Sorry for the long answer. As soon as you try, write about the result, please

Hello, I cannot correctly generate the dll ActBuilder.dll: what is the exact command please? with the "dotnet publish /p:NativeLib=Shared /p:SelfContained=true -r win-x64 -c debug" instruction, the functions of the dll are not visible by the dart plugin whereas with your ActBuilder.dll (directory : builders_act_maker/plugin/act_builder_lib), everything goes well. Thanking you in advance. Bertrand