This question has pertinence beyond my own case because anyone who has a localized application and has to deliver a standalone EXE has this problem-- they will want to use ILMerge (or Costura or some homebrew solution) to put localization DLLs (or…
I try to embed the dll of a class library into my exe.
I use visual studio 2019 and .net 5.
I created two projects in one solution
one is class library (dll), and the second is console application
both targeted for .net core 5. I selected the…
I created a solution that uses the Costura.Fody nuget package to merge referenced assemblies as embedded resources. I want this so that I can create a single exe for my application. This was working great for a while until I added a reference to…
I was writing a simple program in Visual Studio that requires an external library. When I debug it everything went smoothly.
Since I want to distribute the exe alone without the dlls, I installed Costura, clear all the previous builds and then…
I use Costura.Fody.
There is an app Test.exe which runs pocess internalTest.exe this way:
ProcessStartInfo prcInfo = new ProcessStartInfo(strpath)
{
CreateNoWindow = false,
UseShellExecute = true,
…
Is there a way to disable Fody Costura? I need to perform some troubleshooting and I want to know that Fody Costura is not part of the problem. I would prefer to disable it instead of removing the nuget which would be one solution.
Removing…
Is there any existing solution to embed the app.config file into the resulting assembly?
I know there's costura for embedding DLL's into the assembly (costura also provides a really nice VS plugin!)
Some equalient project for the app.config?
I'm currently migrating a project from .NET Framework 4.8 to .NET 6. In the build pipeline the following tools are in use:
ILRepack or ILMerge: for merging multiple XML files into one XML
Costura.Fody: for merging multiple DLLs into a single…
When I migrate WPF Project to .NET CORE 3.0 and try to pack assemblies using Costura I am getting the following error:
The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core.…
When using Fody/Costura in my solution, the resulting executable is much larger than the combined size of the assemblies that have Copy Local option set to True.
When I inspect the debug and release directories I see a bunch of XML files files that…
I'm using Costura.Fody to embed my whole application into one .exe file. But for some reason, the .pdb is not getting embedded:
On the project's README it denotes that there is a parameter called IncludeDebugSymbols to be specified in the…
I am unable to get Costura to load a Native dll that my project needs to run. This is a full native dll so it is not a reference in the project.
I have added the dll to the costura32 folder in my project and set it as an embedded resource.
When I…
I am trying to embed a bunch of DLLs in my C# executable using costura fody, but I am having some trouble with 2 DLLs. I am using the NAudio library and the NAudio.Lame library, and while both DLLs compile perfectly into the exe, the NAudio.Lame…
I have a .NET Core console application that references a .NET Standard assembly.
I've also added a NuGet package for Costura.Fody and a FodyWeavers.xml file (see below).
This builds fine and everything seems great, but when I try to run my app…
Is it possible to utilize a NuGet package with runtime compilation?
I have to compile an EXE at runtime, and want to embed referenced .dll into my final .EXE to end up with a single file.
There is a NuGet package that does this at build time:…