It is currently October 13th, 2024, 1:30 am

Missing assembly on plugin

Share and get help with Plugins and Addons
Azthenix
Posts: 8
Joined: May 25th, 2020, 9:52 am

Missing assembly on plugin

Post by Azthenix »

If I use a dependency on my custom plugin, how do I compile the dll as a single file instead of the project dll + dependency dll files.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2746
Joined: March 23rd, 2015, 5:26 pm

Re: Missing assembly on plugin

Post by SilverAzide »

Azthenix wrote: October 2nd, 2022, 12:01 pm If I use a dependency on my custom plugin, how do I compile the dll as a single file instead of the project dll + dependency dll files.
Previously, you'd use a tool called ILMerge. MS deprecated it a while ago, but it still exists. Alternatively, you can use IL-Repack.
Gadgets Wiki GitHub More Gadgets...
Azthenix
Posts: 8
Joined: May 25th, 2020, 9:52 am

Re: Missing assembly on plugin

Post by Azthenix »

SilverAzide wrote: October 2nd, 2022, 2:57 pm Previously, you'd use a tool called ILMerge. MS deprecated it a while ago, but it still exists. Alternatively, you can use IL-Repack.
Thank you for the reply, I did try ILMerge and found out it was deprecated, but I used Fody now and it seems to be working fine. I'll try to look into IL-Repack if I have time