1
I wondered if it is possible to compile an application . NET Framework in just one executable file. No files .dll
outsiders.
I did some research but was unsuccessful.
1
I wondered if it is possible to compile an application . NET Framework in just one executable file. No files .dll
outsiders.
I did some research but was unsuccessful.
1
If you just want to put it all together just use the Ilmerge.exe. It’s a standard . NET Framework tool.
If you can accept a DLL you can use the .NET Core, but cannot run any application.
If you want an executable even (unmanaged), you can use .NET Native, but is not yet available for every type of application. The Mono already gives.
From . NET Core 3.0 is possible publish everything as a single file.
I’m gonna test this Ilmerge.
0
You can use the Costura
to join all app dependencies into one .exe
.
Just add to your project, that when installing the package, a file .xml
with the fusion configuration and a new import
at the .csproj
who brings the targets
that the Costura
needs to merge the application during the compilation phase.
Browser other questions tagged c# .net compilation deploy
You are not signed in. Login or sign up in order to post.
In this case, I believe that the ideal is to mount an installer.
– Roberto de Campos
@Robertodecampos is what we do these days. I wanted to compile a new application in just one file to make it easier to deliver it to the old application. The two will work together.
– Gabriel Ferreira
See if it helps you: http://www.andrealveslima.com.br/blog/index.php/2014/11/27/criando-instaladores-para-aplicativos-net/
– Barbetta
@Barbetta We currently use the Inno Compiler cited in the article.
– Gabriel Ferreira
In hand: http://codeblog.larsholm.net/2011/06/embed-dlls-easily-in-a-net-assembly/
– Jéf Bueno
Whoa, I’m gonna test this.
– Gabriel Ferreira
@Gabrielferreira Did any of the answers solve your question? Do you think you can accept one of them? Check out the [tour] how to do this, if you haven’t already done so. You would help the community by identifying what was the best solution for you. You can accept only one of them. But you can vote on any question or answer you find useful on the entire site (when you have enough score).
– Maniero