4
Answers

running c sharp progs without FrameWork ? ??

erwache

erwache

20y
2.2k
1
hi i would like to know whether it is possible to compile a c sharp executable in a way, that the .NET framework is not neccessary any more - not regarding, that the executable will grow. Does anyone know if this is possible ? i ve heard things like dynamic / static binding, but i didn't understand how to use those things. thanks in advance!! maschka
Answers (4)
0
kevint
NA 54 0 20y
Try this. " Salamander .NET Linker and mini-deployment tool allows you to link .NET assemblies together into a single file, and to deploy your application without installation of the whole Microsoft .NET Framework. The linker selectively links MSIL code putting together only the required classes and methods, and it is capable of linking into the Microsoft .NET framework class libraries. The mini-deployment tool then builds a minimum set of the Microsoft .NET runtime to ship with your application. This usually results in installation size of a few mega bytes, rather than tens of mega bytes, and the installation takes much less time without rebooting machines. The mini-deployed application can be launched directly from a CD, absolutely without copying files or adding registry entries." Regards KevinT
0
erwache
NA 4 0 20y
thanks for your replies.. i just thought, that it would be possible, to bind the methods and modules which i need into the .exe so that the exe grows, but obviously it is not possible - what a pity thx maschka
0
spgilmore
NA 591 0 20y
Dynamic and static binding are terms of how the libraries of the runtime are loaded at runtime. Neither of these have to do with linking runtime libraries inside the executable.
0
vitenyi_i
NA 38 0 20y
In the same way that you couldn't run a program coded to the Win API on a non-Windows machine, a program coded to the .NET framework needs the .NET framework.