But

Is there a way not to install a net framework 2 on the computer where the published program will be installed.

A need a way how tell the compiler the files that need like system

or system.data etc...

but not installing the net framework



Answer this question

But

  • ble0t

    unfortunately not, you NEED to have the .NET Framework installed for your .NET Developed application. you cannot just copy over the files as not only will it violate the EULA but also it wont be correctly registered and installed in order for the application to use the .NET assemblies. you need to install the .NET Framework on the destination computer, regardless

  • UK_12

    Hey what about if the client dont have framework.
  • Ricardo Francisco

    as stated earlier, without having the .NET Framework package installed you cannot do anything, try it but you wont make anyone happier. The only thing you can really do instead is for them to install the .NET Framework themselves without having the packaged up installation in your clickonce deployment project perhaps.

    you need to have the .NET Framework package installed on the machine from the redistributional package bundled so it can then install it on the computer if they dont have the .NET Framework installed.

    if you had the full version of VS.NET then you can create a setup and deployment project. This will not only install your app but also will download the .NET Framework and install it on the client computer, so only the "web setup" of the product is included I believe in the setup and deployment project but since you are running the express edition, clickonce is the only option you have of installing the application and related components



  • victtim

    Does this will work now, without a framework. Cause i once have published a camera capture program, and the visual studio add a net framework package in the package.

    And so it was installed automaticly, first the setup asked for permission to install and then it was deployed.

    But is there in the world that just the parts that i need for the program will be installed.

    i work on a SQL database program, the program is 5 mb, but the customer is not satisfied with additional 50 mb or something of net framework, and sql server 30 mb. What to Do


  • MotteKarotte

    Hi Damjan,

    70MB is trivial, not even a couple of decent sized tiff images, these days. Drag your customer into the 21st century. You install .net once, then you can run millions of your 1k programs, locally, on his network, the www, wherever. If he is too dim to see the benefits, or doesn't need that, then find another customer, or program in something else.

    Best wishes,

    Ray


  • Sabrecat

    well either they need to install it or you can use ClickOnce to deploy the required components to run your application. I'm not an expert on clickonce but see if these help:

    http://msdn2.microsoft.com/en-us/netframework/aa497348.aspx

    http://msdn.microsoft.com/msdntv/episode.aspx xml=episodes/en/20040108ClickOnceJC/manifest.xml

    http://msdn2.microsoft.com/en-us/library/142dbbz4.aspx

    http://msdn2.microsoft.com/en-us/library/wh45kb66.aspx



  • BobH

    HAHA if i have 1kb program, then i must install addinal 70 mb!
  • But