October 24th, 2006, 02:49 AM
Deploy VB.NET Application without framework
My first post here so sorry if its a silly question!
I have developed a small VB.NET (v2) app I'd like to allow users to download from my website and install
The question is - do they HAVE to have the .NET Framework 2 installed in full on their PC - or is there any way I can package up the required framework DLL's into my application.
I think it only uses 3 framework system DLLS so would it work if i marked these as 'copy local' before doing the build ??
Any views ?
Thanks in advance
October 24th, 2006, 10:07 AM
October 24th, 2006, 11:07 AM
Understand that even if you only explicitly use the 3 dlls (lets say that you're using system.data, system.threading, and system.web namespaces in your code), the entire application is running on top of the framework and is using many of the classes, types, enumerations, and routines behind the scenes. Rather than picking a choosing which dlls need to be deployed (since there would be many), the framework is just a prerequisite.
This is one of the concepts of a framework, and what helps to differentiate it from a class library. Applications sit on top of frameworks, they use class libraries. To be fair, the .Net framework is really just a collection of class libraries.