Oct 6, 2005 #1 dmsruthi Programmer Aug 17, 2005 19 US Hi, Ive an windows application and Ive lot of images, I am using Nant Build scripts to create DLL, but I dont know How to link Images to DLL. Thanks
Hi, Ive an windows application and Ive lot of images, I am using Nant Build scripts to create DLL, but I dont know How to link Images to DLL. Thanks
Oct 6, 2005 #2 JurkMonkey Programmer Nov 23, 2004 1,731 CA Typically, from Visual Studio, you would add existing item to your project and set it as an embedded resource. I would google nant build embedded resource C# and see what you can come up with. Keep in mind though, that in order to retrieve those images you have to use the ManifestResource methods. Upvote 0 Downvote
Typically, from Visual Studio, you would add existing item to your project and set it as an embedded resource. I would google nant build embedded resource C# and see what you can come up with. Keep in mind though, that in order to retrieve those images you have to use the ManifestResource methods.
Oct 6, 2005 Thread starter #3 dmsruthi Programmer Aug 17, 2005 19 US hey I found the solution anyway thanks a lot Upvote 0 Downvote
Oct 7, 2005 Thread starter #5 dmsruthi Programmer Aug 17, 2005 19 US Like this I am adding image resources to DLL <resources prefix="XYZ" dynamicprefix="true"> <include name="**.resx" /> <include name="**.gif" /> <include name="**.ico" /> </resources> I tested it n its working fine. Thanks Upvote 0 Downvote
Like this I am adding image resources to DLL <resources prefix="XYZ" dynamicprefix="true"> <include name="**.resx" /> <include name="**.gif" /> <include name="**.ico" /> </resources> I tested it n its working fine. Thanks