简体   繁体   中英

How can I generate The c# Files from IDL files?

I am trying to Update the GeckoFX to work with Firefox 46 : some classes in this folder : " https://github.com/EbramTawfik/GeckoFX/tree/master/Geckofx-Core/Generated " have a different "uuid" guide Id I have the IDL files in this folder "Which have the uuid": https://github.com/EbramTawfik/GeckoFX/blob/master/PutXulRunnerFolderHere/firefox-46.0.win32.sdk.zip

Is there a way to regenerate the CS files from IDL files instead of updating the uuid manually?!

I Successfully did that : This is the tool that should be used : https://bitbucket.org/geckofx/idlimp/src/default/

1- Build IDLImp project

2- Run IDLImp.exe with the file FullName as an argument

This is successfully done.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM