|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Static Linking C# .netOK, I have written an application in MS Visual C# using .net. Is it
posibble to static link into one self contained .exe file? This would certainly make distribution of a small accessory file much easier. And allow it to be easily packaged and installed with our other applications built in an old C++ builder. If static linking is possible, how to do it in Visual Studio? -- ashesman ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------ ashesman <ashesman.2is***@mail.codecomments.com> wrote:
> OK, I have written an application in MS Visual C# using .net. Is it You can merge multiple assemblies together with ILMerge, but you'd > posibble to static link into one self contained .exe file? This would > certainly make distribution of a small accessory file much easier. And > allow it to be easily packaged and installed with our other applications > built in an old C++ builder. If static linking is possible, how to do > it in Visual Studio? still need the .NET framework to be installed. There are a few ways round that, although none are very widely used as far as I'm aware: http://www.pobox.com/~skeet/csharp/faq/#framework.required -- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too "ashesman" <ashesman.2is***@mail.codecomments.com> wrote It depends on what you mean by static linking. If by this you mean, "Run on > > OK, I have written an application in MS Visual C# using .net. Is it > posibble to static link into one self contained .exe file? This would > certainly make distribution of a small accessory file much easier. And > allow it to be easily packaged and installed with our other applications > built in an old C++ builder. If static linking is possible, how to do > it in Visual Studio? > a system that doesn't have .Net installed", you can use the remotesoft stuff to do it: http://www.remotesoft.com/ We deploy our install applications this way, so that the installer will "just run" on a machine, regardless of pretty much anything else. We've also deployed some .NET WinForms applications this way. The client said, "You can't use .Net 2.0. We're not installing that on our 10,000 old Win98 machines." to which we responded, "here's the client.exe, it should run just fine.".
SocketException: Too many open files - can't understand why though?
Background worker tasks sequentially? Package and deploy in .NET Temporarily give the current user Local Admin rights VS Service Packs are too far apart Problem with application trying to read data from a network stream when the socket is closed Where is System.Reflection.dll assembly? timer... HttpRepsone.OutputStream & HttpWebResponse.GetResponseStream() What's wrong with my SqlCommand? |
|||||||||||||||||||||||