Re: WindowsForm Application in C#.NET
From: remotesoft (info_at_remotesoft.com)
Date: 08/06/04
- Previous message: Max: "system.net.socket.socketexception"
- In reply to: Rajeev: "WindowsForm Application in C#.NET"
- Next in thread: GirishKumar: "RE: WindowsForm Application in C#.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 5 Aug 2004 20:22:44 -0700
In theory, you can find out all the dependent assemblies (.dll) of your .NET
exe, then copy those dependent dlls into your application directory, in
addition you also need to copy the necessary CLR runtime files
(c:\windows\system32\mscoree.dll,
c:\windows\microsoft.net\framework\v1.1.4322\mscorwks.dll, etc). Now you
have all files to run your application, unfortunately, the CLR relies
heavily on the windows registry settings (look at
HLLM\Software\Microsoft\.NETFramework hive), so copying files will NOT work,
you need to do something on the registry.
Our linker and mini-deployment tool does exactly the above:
(1) find all dependent files, and put them into a directory
(2) provide a virtual registry internal to your application
Now you can copy the generated package to machines w/o .NET Framework, and
it works just fine. It never touches the registry of the target machine.
more info here: http://www.remotesoft.com/linker/
send an email if you need a trial version
"Rajeev" <navvyus@yahoo.com> wrote in message
news:8fa6add7.0408051449.3d95d1e4@posting.google.com...
> Hi
> I have created a WindowsForm application in C#.NET. When I try to run
> the exe on some machine without .NET framework it errors out and
> prompts for .NET framework installation. Do I need to install the
> complete the .NET framework on the machine I am runing it on or can I
> just copy some dll's into this machine and make it work.
> In other words is it possible to run a WinForm application designed in
> .NET to run on a machine without .NET framework by just copying some
> dll's.
>
> Thanks a lot
- Previous message: Max: "system.net.socket.socketexception"
- In reply to: Rajeev: "WindowsForm Application in C#.NET"
- Next in thread: GirishKumar: "RE: WindowsForm Application in C#.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|