Reputation: 609
I have a very n00b question about .NET and DLLs. I am developing an application using C# and WPF, and I soon realized that WPF doesn't support charting out of the box. So I did some searches and found WPF toolkit which looks promising, but I have to install a msi file and reference the dll from that project. Now my question is, if I build in release mode, will I be able to just hand over the "executable" to others? Thanks a lot in advance.
Upvotes: 2
Views: 90
Reputation: 127563
if you want to have just one exe you had over to the person you will need a utility like ILmerge to combine the external dll's in to the exe.
Upvotes: 0
Reputation: 48949
No, you will have to deploy the DLL along with the executable. That DLL could exist in the GAC or in one of the assembly probing locations. One exception I should point out is that you can use ILMerge to embed the DLL in the executable.
Upvotes: 0
Reputation: 2266
Not by building in release mode, but if you can set that up in the publish properties.
Include
Upvotes: 1