Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I've been working on a program which makes use of the .Net Framework. It's not based on it but it makes use of some little bits of the platform, despite of my efforts to replace most of those little bits with API calls. Well, my program is almost done and ready to publish, and now one big question remains: what's the best way to publish it?

For a while I used the VB.Net built-in publish tool but then I realised it wasn't actually like what I expected it to be (i.e. pretty much similar to any typical install program).

On the other hand, if I choose any other alternative, I can't guarantee that my software is packaged with (or alerts for the not presence of) it's dependencies, in this case the .Net references.

I've noticed that there is the "Copy Local" option for these references. Does this make my software "independent", I mean if I only use abcd.dll and set the Copy Local to TRUE, will the program run just fine or will it still force my 'clients' to install the .Net platform? (I know, is yet much likely they already have it installed nowadays, we're talking about versions 2.0 to 3.5...that's actually the fact I've been relying on).

Thanks in advance!

share|improve this question

1 Answer

Short answer is you will always need to install the full framework if you use any of it. The Dependency tree in the .Net framework is quite deep, and though you do not depend on other .Net assemblies, it is highly likely that the portions you depend on will.

You could use a package publisher like WiX (Windows installer XML Toolset) to create a more user friendly installer experience... A tutorial which discusses packaging .Net can be found at http://wix.tramontana.co.hu/tutorial/net-and-net

share

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.