Questions tagged [fody-costura]

Fody add-in for embedding references as resources

Fody add-in for embedding references as resources.

106 questions
1
vote
0 answers

Fody weaving - should I include dlls from referenced project as well?

I have a 'service' csproj that has references to topshelf (to make this as windows service), quartz (for scheduling) and a reference to my 'core' csproj where my actual code is. I use costura to merge all dlls to make into one final exe. I have…
Jap Evans
  • 1,097
  • 8
  • 22
  • 42
1
vote
1 answer

Cotura.Fody Not Working In JetBrains Rider EAP

I'm working on a project, and it uses a few libraries (RestSharp, Newtonsoft.Json, CsQuery) and I didn't want to use the exe with all the dlls in the same directory, so I also installed Costura.Fody, and that worked when I used Visual Studio, but…
RedXTech
  • 406
  • 2
  • 7
  • 17
1
vote
1 answer

The type initializer for '' threw an exception when try to embed Awesomium dlls

I'm Trying to embed Awesomium into my project executable file. In the documentation of Awesomium, they said that set the target platform of your project to X86. Is that mean there is only Unmanaged32Assemblies available? I add this line to…
Saman Salehi
  • 1,995
  • 1
  • 22
  • 36
1
vote
1 answer

Unknown custom metadata item kind: 6 when using Costura.Fody

I try using Costura.Fody to embed DLL files into exe file. First I install Costura.Fody by run this command in package manager console : install-package Costura.Fody, Then Build the project. But building project was unsuccessful and this is the…
Saman Salehi
  • 1,995
  • 1
  • 22
  • 36
0
votes
0 answers

Costura.Fody nuget package rolls back when installing

I started a new c# .net Framework 4.8 console project with no code. I tried to install Costura.Fody nuget package. The installation starts to install as expected but then once it hits System.Runtime.InteropServices.RuntimeInformation.4.3.0 the…
Charlie P
  • 51
  • 2
  • 8
0
votes
0 answers

.NET Application Not Starting When Using Both Prism and Costura.Fody

I'm having an issue with my .NET application. When I use both Prism (version 8.1.97) and Costura.Fody (version 5.7.0) in my project, the application fails to start. However, if I only use one or the other, the application works fine. Here is how I'm…
0
votes
0 answers

I cannot package webview2 together into a single executable file in my C# program

I use costura.fody for packaging, although the packaging is successful, but I run the program, double-click the corresponding function point to trigger the event, webview2 does not work. It's like I only drew a UI page, and didn't give it the actual…
anton
  • 9
  • 1
0
votes
0 answers

Visual studio 2017 setup project without dependencies

I have used Costura.Fody to combine all references to a single exe successfully following this guide. But when I create a Setup project and Add->Project Output... it installs all references to the folder.Is it possible to create msi containing only…
0
votes
0 answers

How to sign an assembly generated with Costura.Fody

I am using Costura.Fody to merge some dlls and now I need to sign the output dll. I have seen that this is possible with ILMerge but that tool give some errors when trying to merge so I use Costura.Fody. but the problem is that Costura.Fody doesn't…
0
votes
2 answers

Embedding WebView2 Runtimes in .NET Framework Class Library With Fody Weavers

We have a class library (consumable by third-party apps not under our control, and deployed as a single file dll with embedded references) that previously used the WebBrowser control. That was a very simple, easy-to-use and -deploy control that is…
SteveCinq
  • 1,920
  • 1
  • 17
  • 22
0
votes
0 answers

Copy File from Assembly into a directory when using costura.fody

I have a spreadsheet with some information in it that I want to copy out of out my exe into a folder of the users choosing. I'm not 100% sure how to get the path to it. I'm using costura.fody which turns it into the 1 exe file This is my latest…
Paul
  • 57
  • 7
0
votes
1 answer

How do I hide/integrate dll files using Visual Studio Installer?

Using Visual Studio Installer, I created the .msi file for the WPF project and the class library for the custom action. Everything works fine, but there are many dll assembly files associated with the project in C:\Program Files…
CalgaryFlames
  • 678
  • 2
  • 10
  • 30
0
votes
1 answer

C# ConfuserEX Not working with embedded .dlls

I'm using Costura.Fody which allows users to embed dependencies as resources. In my case its embedding a .dll to my .exe... The problem is when I try to use ConfuserEX afterwards to prevent decompiling it comes up with this error: [ERROR] Failed to…
James
  • 27
  • 4
0
votes
0 answers

Error during building application with Fody and Costura via VS 2019 : Binary is being used by another process

I have a C# Console application that was developed in different machines. In this application, we chose to use Fody, because it's the only thing we found that would embed all external resource dependencies (any extra class libraries) into a single…
Lalindu
  • 329
  • 3
  • 17
0
votes
2 answers

Fody and Assembly.GetExecutingAssembly().Location returns empty string

I was calling Assembly.GetExecutingAssembly().Location in one of the dlls of a solution of mine. When I tried to use Fody (https://www.nuget.org/packages/Fody/) to package my binaries into a single binary, I noticed that this call started returning…
Øystein Kolsrud
  • 359
  • 2
  • 16