Closed langebo closed 1 year ago
Update: By explicitly adding a package reference to Tmds.DBus.Protocol
and removing the reference to Tmds.Dbus
itself and also changing the DBusGeneratorMode
to Proxy
, the project now builds w/o errors and can be published with native aot compilation.
Maybe you could clarify that the source generator is based on the low-level Protocol library in your documentation ;)
Have a nice one
Hey affe,
i tried to use your source generator in order to publish a little project with native aot compilation. but upon adding the nuget package, the interface xml template and the project configuration i receive a ton of build errors:
Same thing happens when cloning your project and adding it via project reference. I have the code pushed to a branch here: https://github.com/langebo/Tiler/tree/features/native-aot
The dbus windows interface I use comes from a gnome shell extension: https://extensions.gnome.org/extension/4724/window-calls/
Can you tell me what I am doing wrong? Thanks in advance