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:

181 questions
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

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
0 answers

Xamarin Forms and PropertyChanged.Fody not updating UI

I have a Xamarin Forms project using MVVM in which I am attempting to use Fody and the PropertyChanged.Fody package. No matter what I try it simply does not work. I have spent the day searching for examples of projects using PropertyChanged.Fody and…
Sev
  • 883
  • 1
  • 14
  • 34
0
votes
1 answer

Automatic binding to some service properties in Catel with Fody

Assuming there is some service: public interface IDeviceManagerService { ISomeDeviceApi Api { get; } } It's purpose is to monitor external environment (USB, network, etc.), instantiate device API when the device detected and make property null…
ArXen42
  • 139
  • 1
  • 8
0
votes
1 answer

Fody is throwing an error after installation in my MVVM WPF project

I am trying to build an app using WPF based on the MVVM project. While learning, I found it tedious to have to implement the getter/setter for every property to notify the view of a change. That is when I learn about Fody I tried to install the…
Jaylen
  • 39,043
  • 40
  • 128
  • 221
0
votes
1 answer

After updating Fody from 2.0.0 (sample solution) to 2.3.1, assembly does not get built with debug information.

Update from 2.0.0 to 2.3.1 in Fody, causes VS2015 to not build the assembly with debug information, meaning it's impossible to put a break point. If I revert back to 2.0.0, it builds with debug info and break points come back. The same Debug build…
0
votes
1 answer

Constructor content affecting fody commander

I have a WPF application that makes use of Fody Commander to simplify the process of adding commands to the viewmodel. However I am running into a strange issue where the values passed to the constructor of my class can affect if commands get…
Hugoagogo
  • 1,598
  • 16
  • 34
0
votes
1 answer

Cast error when trying to implement Fody add-in

I'm trying to learn how to write a Fody module, and was following the Pluralsight Fody course, which includes a walkthrough. The sample add-in was to add an interface to any classes whose names ended in "DTO". He used the basic add-in from the Fody…
Avrohom Yisroel
  • 8,555
  • 8
  • 50
  • 106
0
votes
1 answer

Coalesce expression causing an issue in return statements in Fody

Consider the following snippet of code: private string GetFieldValueAsString(string nonAliasedEntityName = null, string nonAliasedName = null) { return nonAliasedEntityName ?? nonAliasedName; // simplified code of course! } It is compiled to…
Ahmed Elsawalhy
  • 148
  • 1
  • 6
  • 10
0
votes
1 answer

Issue accessing fields in generic base class using Fody

Consider the following test code structure: class TestClass { public object TestObject; } class TestClass2 :TestClass { public int TestMethod() {} } When I add Instruction.Create(OpCodes.Ldfld, TestObjectField) to TestMethod,…
Ahmed Elsawalhy
  • 148
  • 1
  • 6
  • 10
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
1 answer

How to not fire PropertyChanged when getting entity from database?

I have WPF application where I use some basic class. I also use Fody PropertyChanged and EF 6.1.3. I am trying to change property SaveNeeded whenever any of property is changed. So I write this class: public class Foo : INotifyPropertyChanged { …
Pavol
  • 552
  • 8
  • 19
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

The realm dot net base example does not compile

I am having trouble at getting the example "QuickJournal" to compile on iOS. The code compiles OK, but fails during the Fody step. Goals Try out the example application for .NET through the following - Pull the repository - Open the solution in…
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