Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. .NET Framework on every machine

.NET Framework on every machine

Scheduled Pinned Locked Moved Visual Basic
csharpdotnetagentic-aihelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Asad Hussain
    wrote on last edited by
    #1

    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)

    D J 2 Replies Last reply
    0
    • A Asad Hussain

      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)

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • A Asad Hussain

        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)

        J Offline
        J Offline
        jordan2000
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups