Questions tagged [fody-costura]

Fody add-in for embedding references as resources

Fody add-in for embedding references as resources.

106 questions
2
votes
3 answers

.NET merge class library references

I have a class library which contains WPF user control. This library has some dependencies but I want to deploy it as one assembly. As I know IlMerge has some problems with WPF. I tried Costura but it works only for applications, not for class…
SiberianGuy
  • 24,674
  • 56
  • 152
  • 266
1
vote
0 answers

embed dll file into exe and release physical file

using Fody/Costura to embedding dll file to single file is ok and all works good . but if i physically put dll file in executable folder and run application , application hook dll file and when i want to edit or delete dll file it throw an exception…
Moslem7026
  • 3,290
  • 6
  • 40
  • 51
1
vote
2 answers

How could I move WebView2 folders to a different location?

Is there any possible way of moving the runtimes and *.exe.WebView2 folders created by the Microsoft WebView2 WPF package to a different folder or perhaps embedding them? The 2 folders are selected in the screenshot below. I already use…
Mlemix
  • 57
  • 1
  • 2
  • 6
1
vote
0 answers

How to fix Costura.AssemblyLoader causing stackoverflow with recursive loop

I currently have a program that is using Costura but there seems to be a stackoverflow error that causes it to crash. I checked the call stack and noticed that Costura.AssemblyLoader.ResolveAssembly and…
1
vote
1 answer

Unable to uninstall Fody Costura

We used Fody Costura to pack a complex WPF application. Now, we want to uninstall it because of the huge size of the resulting executable. We deleted the nuget-packages (Fody, Fody-Costura) from all assemblies and deleted all bin and obj folders.…
Stefan
  • 15
  • 3
1
vote
2 answers

Avoid .xml files when using costura.fody

I would like to get a Single .EXE File so I'm using Costura.Fody. After adding its NuGet package all of the DLLs are embeded to the .EXE file as expected. The problem is that I get all of those .xml files: PS1: I'm using .NET Framework 4.6.1 (not…
Jaime Oro
  • 9,899
  • 8
  • 31
  • 39
1
vote
0 answers

Create Class Library with CefSharp included using Fody Costura

I am trying to build a WinForms class library including CefSharp as a single .dll file. I installed CefSharp 81.3.100.0 and Costura.Fody via NuGet. The compiled .dll file is working as an addon to an existing WinForms application. When I try to…
Gardinero
  • 331
  • 2
  • 13
1
vote
0 answers

Why is .Net Core's PublishSingleFile doing self extraction instead of resource embedding assemblies?

To me, merging .Net binaries so that I'm left with one single file executable was always a both interesting and important feature. From what I've read, there are three approaches regarding this: ILMerge Really merges the assemblies. Comparable to…
1
vote
1 answer

Execute Obfuscar Before Fody.Costura Merge Files

How can I Execute Obfuscar Before Fody.Costura Merge the Files Because Merged Files Are not obfuscated, using Fody.Costura compression or wihout it. I've downloaded https://github.com/obfuscar/example.git project example for obfuscar, then I've…
Zaha
  • 846
  • 10
  • 21
1
vote
0 answers

Missing Reference on specific machine using Fody Costura with Topshelf and Ninject

I have built a little Windows service that runs on a client's machine, connects to a local database and posts that data to a webservice. I'm using Topshelf with Ninject, and the code is essentially boilerplate, right from the template. I added…
1
vote
1 answer

Addin Conflict with Different Versions of the same Library

I create primarily programs that are addins to a different parent software; other people and companies make addins for the parent software as well. This becomes a problem when two companies use different versions of the same third party library,…
sfaust
  • 2,089
  • 28
  • 54
1
vote
0 answers

Fody/Costura & CefSharp

Has anyone tried or had any success embedding CefSharp in their application using Fody/Costura? I am not sure if it's possible, but if it is, I'm not having any luck getting the configuration of Costura correct.
Justin
  • 11
  • 1
1
vote
1 answer

Referencing a .dll that has already been merged with Fody/Costura

I have an app that references a .dll that was built with Costura/Fody i.e The dll has all its references embedded. When I run the console app, the references from the dll are not unpacked so the console app throws an exception saying missing .dll…
mikip
  • 21
  • 3
1
vote
1 answer

How does the Fody NuGet package merge assemblies at the end of the compile process?

Recently I came across a NuGet package for modifying .NET assemblies, in particular, there was a Costura NuGet "plugin" for the Fody package which merges assemblies after the C# compiler completes. I was not able to find any modifications to the…
Razor
  • 17,271
  • 25
  • 91
  • 138
1
vote
3 answers

Costura Fody throwing error with FodyIsolated.dll

I've built a WPF application, and used Costura.Fody to combine it into one exe. This has worked until today, and the only change that I know of is that I upgraded Visual Studio (Community edition to 15.7.2). It now throws an error when building,…
James R
  • 141
  • 2
  • 14