Questions tagged [fody-costura]

Fody add-in for embedding references as resources

Fody add-in for embedding references as resources.

106 questions
0
votes
1 answer

use post build events with Fody.Costura installed

Once I added Fody.Costura to my project, my post build event that was copying the resulting assembly into a different location started failing with access denied message. That makes sense since Costura uses MSBuild to embed the assemblies. Is there…
konrad
  • 3,544
  • 4
  • 36
  • 75
0
votes
1 answer

Fody Costura c++ runtime

My c# program uses a dll written in c++, and this dll is embedded by Fody Costura. It works on machines having Visual C++ runtime installed or having msvcp140.dll and dependencies in the working folder. Is it possible to embed msvcp140.dll and…
msw
  • 1
  • 1
0
votes
1 answer

Trying to embed extra dll in program

I have a program using Pdfium and PdfiumViewer. Everything works, but I have to have the pdfium.dll and PdfiumViewer.dll in the same directory as my .exe in order for it to work. If the pdfium.dll is missing, I get "Unable to load DLL 'pdfium.dll'".…
derekantrican
  • 1,891
  • 3
  • 27
  • 57
0
votes
4 answers

Cannot use Costura.Fody with ConfuserEx

I want reduce the assembly dimension with Costura.Fody, this working well, infact all the dll are merged in one assembly, but I have a problem with ConfuserEx that I can't solve. In particular when I open ConfuserEx, I drag the .exe on the app, add…
0
votes
2 answers

How to prevent a referenced assembly's embedded dependency from being copied to output folder in Visual Studio?

I have: A.dll - a third-party assembly B.dll - my own class library assembly C.exe - my own executable I am using the Costura.Fody NuGet package to embed A.dll into B.dll, and C.exe has a binary reference to B.dll. (A.dll embedded within…
Ryan K.
  • 67
  • 1
  • 10
0
votes
0 answers

Merging multiple managed and unmanaged dlls into single single dll with Fody Costura

I'm embedding multiple 3rd party managed and unmanaged dlls into one dll. That single dll gets picked up and injected into another host application at runtime ussing Assembly.Load The entire thing is supposed to work as a host with plugins thing.…
MarkovskI
  • 1,489
  • 2
  • 21
  • 25
0
votes
1 answer

NReco FFPMegConverter: The path is not of a legal form

I'm using the NReco FFMPegConverter, and when I try to get a thumbnail, I get the error: System.ArgumentException: The path is not of a legal form. at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength,…
Black Dynamite
  • 4,067
  • 5
  • 40
  • 75
0
votes
1 answer

Costura.Fody Embedded Library Namespaces Not Found

I'm using Costura.Fody to embed a bunch of references in my project into a sort of master-library to remove the need to reference every single library in my API. Costura.Fody output shows that the other parts of my library are being embedded, but…
Tyler Camp
  • 177
  • 15
0
votes
0 answers

Install Costura Fody Without Nuget

I want to be able to have the features of Costura Fody (merging native assemblies into my executable) but I don't want to have to use "Install-Package Costura.Fody" from Nuget. How can I do this? My ideal solution would be being able to just include…
0
votes
1 answer

Is it possible to embed multiple dll files (references) into final dll file using Fody.Costura?

as title states: Is it possible to embed my references (.dll files) in to my final, compiled .dll file using Fody.Costura? I'm quite sure I did proper setup but I can't see any difference between .dll file compiled with installed Fody.Costura and…
Jakub Mucha
  • 1,342
  • 1
  • 13
  • 18
0
votes
2 answers

Is there any free ilmerge like tool out there which can merge wpf assemblies?

I'm looking for a free tool to merge all of my wpf application's assemblies into a single assembly. Usually, I use ILMerge, but unfortunately, it does not support merging WPF assemblies. Are there any tools out there which can achieve that? A…
Oliver Hanappi
  • 12,046
  • 7
  • 51
  • 68
0
votes
1 answer

Remove .dll from fody-costura that i no longer use

a while back I installed Install-Package Costura.FodyHow ever, back when I installed it I used 3 .dlls, but now I no longer have use of these .dll as I changed my application around. I did delete my 3 dll's from my bin folder, and I removed them…
Joakim Carlsson
  • 1,540
  • 5
  • 19
  • 42
0
votes
1 answer

Duplicate assembly embedding

I'm experiencing the following issue with Costura, when using the tag to provide the list of assemblies to embed, I get a duplicate. Specifically Jetbrains.Annotations assembly is duplicated. All other assemblies are only…
Pedro Magueija
  • 131
  • 1
  • 8
0
votes
1 answer

Fody and dynamic dependency update (AssemblyResolve event)

I'm writing an auto-update system, where WPF App loads its dependencies (dlls) dynamically. I'm using the AssemblyResolve event for that. Then I found Costura.Fody and saw that it simplifies things. However, Fody doesn't allow loading of an updated…
Pompair
  • 7,083
  • 11
  • 60
  • 69
0
votes
1 answer

Fody.Costura Interfering with Caliburn.Micro Resolving of Views

I have a window with an injected view via Caliburn.Micro; Now, without Fody.Costura I can see that my ViewModel is being requested via the IoC container. Shortly afterwards (when then…
Meirion Hughes
  • 24,994
  • 12
  • 71
  • 122