Questions tagged [fody]

Extensible tool for weaving .net assemblies

Extensible tool for weaving .net assemblies

Uses Mono.Cecil and an add-in based approach to modifying the IL of .net assemblies at compile time.

  • No install required to build
  • No attributes required
  • No references required
  • Supports .net 3.5, .net 4, .net 4.5, Silverlight 3, Silverlight 4, Silverlight 5, Windows Phone 7 and .net Metro on Windows 8, MonoTouch, MonoDroid, Mono
  • Supports client profile mode

Links:

159 questions
0
votes
1 answer

ModuleInit Fody Initialize not called

I've a WPF application that loads 3 different assembly which containts application extensions. I've added to the 3 projects the ModuleInit.Fody and for now just put a Console.WriteLine("module") I load the assemblies with this piece of code var…
advapi
  • 2,776
  • 2
  • 24
  • 52
0
votes
1 answer

How can Fody be used to weave compiled dll's without using msbuild?

I understand that by default Fody weaves assemblies as a post-build step in Visual Studio. However I have a custom tool that directly compiles projects using csc.exe (Roslyn compiler). Is it possible to run Fody as an executable/service instead of a…
Ilya Suzdalnitski
  • 49,863
  • 47
  • 128
  • 166
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
  • 6,623
  • 11
  • 56
  • 68
0
votes
0 answers

Fody.PropertyChanged and struct

I am displaying lot of custom data types (implemented as structs internally) on my UI. I was hoping to use Fody.PropertyChanged but it seems it works only with classes and not structs. A sample code: namespace FodyQuestion { …
0
votes
1 answer

Fody - method caching

I am using Fody method cache (https://github.com/Dresel/MethodCache) for the first time. I am probably doing something wrong because the following code does not work: static void Main() { Console.WriteLine("Begin calc 1..."); var v = calc(5); …
dajuric
  • 2,009
  • 1
  • 16
  • 33
0
votes
1 answer

Fody-PropertyChanged raising on Dependent Property Change

I have a ProjectModel and a ProjectViewModel class; my Model handles direct manipulation of a project, while the view model is providing the "view friendly" properties and commands However, in my ViewModel I'm exposing the read-only project contract…
Meirion Hughes
  • 21,021
  • 8
  • 65
  • 114
-1
votes
1 answer

Fody PropertyChanged Weaver Causes Memory Issues

I installed PropertyChanged.Fody into a WPF application. Now 3rd party code that uses native memory are having memory allocation issues. Uninstalling PropertyChanged.Fody resolves all these issues. I thought that the package was causing property…
Sheldon Cooper
  • 577
  • 2
  • 14
-1
votes
1 answer

Embed multiple dlls into exe in visual basic .net 2010

I am student and have no technical knowledge so I request full code and steps. I have a project where I have refernenced moew than 12 dll files in my project. My only motive is to hide all dll's (by perfect method) from the end user of my…
-1
votes
1 answer

C# Costura.Fody - resources not embedded

Some years ago I used Costura.Fody and it worked after the installation via NuGet perfectly. Yesterday I tried it at home, and got first the error, that Fody is missing (I just installed Fody via NuGet). Then I was missing the FodyWeavers.xml, which…
Shmosi
  • 292
  • 2
  • 16
1 2 3
10
11