Soo... I built the executable file from my project and copied it to another computer to run. Except.... the other computer doesn't have the .NET framework installed on it. The error I get is:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~.NET Framework Initialization Error ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To run this application, you first must install one of the following versions of the .Net Framework: v2.0.50727 Concatc your application publisher for instructions about obtaining the appropriate version of the .Net framework. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Okay, fine. I download the .NET v2.0 redistributable file from Microsoft's page and... well, en I don't have enough permissions to run it. I'm gonna catch hell from the network admins when they find out I'm developing applications on their computers. But that's not what I'm on the forums for. :-p
Is there any way to pack the necessary libraries/references/whatevers with the exceutable so that I can run my application on a computer without the .NET framework installed Because it'd be a real pain in the butt if I had to get the admins to install the .NET framework on 20 computers.
Thanks in advance!
Nick

Running .NET Apps on a Comp without .NET
Andy!
Could I get a link please Very needed! =)
Tom D
Anyways, my company had the problem that forcing people to install the runtime was an extra hassle. So, we started using Xenocode (http://www.xenocode.com/) and have been using it ever since. Granted, its unsupported by microsoft and granted it isn't perfect but it does allow any .net application to run on a windows client without them *explicitly* installing any runtimes. Obviously the trade off is that the runtimes are stored within the exe itself which boosts the exe +15mb or so from its original size.
Tim Daniels
Google is your friend
....Salamander is your keyword
HoustonRocket
Only 20 Well your statements are confusing, first you say your developing on computers (Plural) How many computers do you need to test your code You've obviously got one computer with .Net to write your program.
Most computers with Windows XP SP2 should have Dot Net 1.1 on it. Do you have Version 2003 Are thier computers still running Windows 2K
If they have XPSP2 and you have 2003, perhaps you could test your code by compiling it under 2003
I wouldn't recommend packing the libraries with your exe. I'm getting the impression you just want to test your code. Sooner or later computers running XP will probably get .Net 2.0 anyway, can you say SP3
perhaps you can bride your Admins with cookies
Randy
JMakitalo
now there are 3rd party (unsupported by MS) tools that will bundle the neccessary .net namespces inside the executable....
Keldon Alleyne
Best regards,
Johan Stenberg