.NET Framework on every machine
-
I am trying to make a shareware application in vb .net that does some very simple CRM stuff. The problem I have is that, as i understand it, you need the .NET framework on every computer the application will run on. Is there a way to compile the app. into a stand alone .exe that doesnt require the framework or is there something seriously flawed with my reasoning?? (Going back to VB6 sucks)
-
I am trying to make a shareware application in vb .net that does some very simple CRM stuff. The problem I have is that, as i understand it, you need the .NET framework on every computer the application will run on. Is there a way to compile the app. into a stand alone .exe that doesnt require the framework or is there something seriously flawed with my reasoning?? (Going back to VB6 sucks)
You MUST install the .NET Framework on every machine that will run the any .NET compiled app. You CAN NOT compile the Framework into your app. You, also, cannot include the .NET Framework in an installer package created by Visual Studio. This is because one of the first thing the resulting .MSI does is check to see if the Framework is installed. If not, the .MSI quits with the message 'This setup requires the .NET Framework. Please install the .NET Framework and run this setup again.' You can make an installer, called a 'boot strap', for your app installation that checks for and installs the .NET Framework, then installs your app from it's .MSI package. See this[^] article and code sample on CP. Also, Microsoft has this[^] article on MSDN covering the same bootstrap principle. RageInTheMachine9532
-
I am trying to make a shareware application in vb .net that does some very simple CRM stuff. The problem I have is that, as i understand it, you need the .NET framework on every computer the application will run on. Is there a way to compile the app. into a stand alone .exe that doesnt require the framework or is there something seriously flawed with my reasoning?? (Going back to VB6 sucks)
The reason there is a .NET framework 1. That all apps wil run on all pc's with the .net framework :) 2. You don't have to download huge files to get a .net application becouse all that is in the 20 MB .net framework. 3. Apps will work with all windows platforms with 1 code. So you can't compile the framework in you app. you can let the installer install .net framework read the help in VS.NET