Questions tagged [fody-costura]

Fody add-in for embedding references as resources

Fody add-in for embedding references as resources.

106 questions
0
votes
0 answers

Making properties of external library visible, without importing that library

For reasons I can't explain here, I need to create a single dll file that can be used in .Net Framework applications. In that library, I use a 3rd party library that can not be (directly) used/imported by the end-user application. I use Fody/Costura…
Coder14
  • 1,305
  • 1
  • 9
  • 26
0
votes
1 answer

App.Config not found when running single project console app as an executable

When Running a console app packaged to a single .exe with costura.fody I appear to be unable to access my app.config resulting in the error System.InvalidOperationException: No connection string named 'volumeEntities' could be found in the…
frogg
  • 55
  • 1
  • 10
0
votes
1 answer

Merge dll's with Costura, Microsoft.Data.Sqlite throws errors and cannot add-migrations etc

I have a project with at least 50 dll's. And I don't what them in the root folder with .exe of application. I am using Fody/Costura to solve this problem. But... I want to rewrite the entire database to the sqlite. Something that end-user doesn't…
Marek Schwarz
  • 350
  • 5
  • 13
0
votes
0 answers

Encapsulates class library with Costura Fody

I have a .Net Framework class library project which includes other 3rd-party packages. After I compile the project, all the dlls are in the output folder. How can I embed the assemblies into the project's dll and get only one single file? I tried…
KDani
  • 358
  • 4
  • 19
0
votes
1 answer

producing all included exe for c# .net 4.7.2 project

I have a class library project that is referencing .Net Framework 4.7.2 . I need to create an exe which will contain all the references of the project. I will not have access to any code or project references on the VM, where this exe needs to be…
user1207289
  • 3,060
  • 6
  • 30
  • 66
0
votes
1 answer

How to access Fody/Costura embedded libraries at runtime from a different AppDomain

I need to create a new AppDomain for my solution so that I can invoke the method from it's own AppDomain. All of the dependent .dll files for my solution have been embedded into my.exe using Fody/Costura. I have created a Loader :…
jknight001
  • 21
  • 3
0
votes
1 answer

Why does Fody weaving fail to weave other projects?

Sorry for the use of pictures here but it seemed appropriate. I have a simple method interceptor working in the first image, but when I move my interceptor to be a part of the library that I want it to live in (for reusability) it just stops…
Daniel Armstrong
  • 829
  • 9
  • 22
0
votes
1 answer

Fody Costura not compiling into an exe

I have a .Net Core Console Application with a number of dependencies. My idea was to use a .Net weaver (Costura) to embed all the dependencies into the executable. However, what seems to be happening is that it's creating a dll, and embedding all…
user10780967
0
votes
0 answers

using cefsharp with fody

I am using fody costura to combine all my files into a single executable. in my project I am using cefsharp and it is looking for locales folder with en-US.pak file. I am getting the following…
h8tow8
  • 143
  • 9
0
votes
0 answers

Unable to use costura fody with asp.net

I have problems using costura fody with the latest build and standard small web services ( both asmx and wcf ) To test this. I build a simple asp.net project (hello world). I am using 2 simple class libraries as references. [WebMethod] public…
tdsrhh
  • 3
  • 4
0
votes
1 answer

costura.fody can't find weavers

I installed the costura.fody nuget so that my application would have all dlls packaged into the final exe file but it brings an error that he can't find fodyweavers.xml I looked everywhere what to do and the only thing I could find is to make the…
John Linaer
  • 15
  • 1
  • 6
0
votes
0 answers

Issue installing nuget Fody and Costura.Fody packages on Visual Studio 2015

I got an error when try to add Fody and/or Costura packages 200/5000 This project refers to one or more NuGet packages that are not present on this computer. Use the NuGet package recovery tool to download them. For more information, see…
0
votes
1 answer

There is an error in XML document exception in kiosk mode

I'm developing an app for kiosk and I substituted explorer.exe registry address to my app.exe. When I want to work with XML file, the program throws an error: There is an error in xml document(0,0): I even tried embedding dlls using Costura.Fody…
M.B
  • 23
  • 4
0
votes
1 answer

Wpf application as a single executable

I'm trying to package my wpf application as a single executable. I use Fody Costura which works fine packaging all the dll into the exe. However the exe still requires the application config file and it has to be in the same folder as the exe So for…
developer7788
  • 389
  • 1
  • 2
  • 15
0
votes
1 answer

Problem loading modules in prism WPF C# after adding fody.costura to the project

I'm doing a project in Prism WPF, and I want to use fody.costura to have only one executable and a folder of Prism modules, when i Add costura to the project and start the application prism does not find the modules in the directory: .\Modules I…
Armando Ramirez
  • 1,111
  • 1
  • 6
  • 5