Questions tagged [fody-propertychanged]

Fody add-in for injecting INotifyPropertyChanged code into properties

Fody add-in for injecting INotifyPropertyChanged code into properties.

71 questions
57
votes
3 answers

Fody is only supported on MSBuild 16 and above. Current version: 15

Visual Studio 2017 let me know there was an upgrade to Fody version 5 this morning. I accepted and did a NuGet package update of both Fody and PropertyChanged.Fody. Now, my project/solution will no longer build. The error is: "Fody is only…
14
votes
6 answers

Unable to compile project due to Fody errors. Nothing with Fody (or any other code) has been changed

** This is an issue in Visual Studio 2013. The error I'm getting is massive and mostly useless, but the crux of it is Error 130 Fody: Could not load 'ModuleWeaver' from 'PropertyChanged.Fody, Version=1.50.3.0, Culture=neutral, PublicKeyToken=null'…
Justin
  • 513
  • 1
  • 7
  • 17
9
votes
2 answers

Does Fody leave any references/traces in final assembly?

Are there are any traces of Fody, or its dependencies (references), in the final weaved assembly?
Meirion Hughes
  • 21,021
  • 8
  • 65
  • 114
8
votes
2 answers

Fody Exception in Release Mode Symbol file .dll.mdb does not match assembly .dll

I'm having a problems building a PCL in Xamarin Studio on the Mac. It works fine in debug mode but fody throws an exception in Release Mode. Exception during build is listed below. Error: Fody: An unhandled exception occurred: Exception: Symbol…
rid00z
  • 1,476
  • 2
  • 15
  • 34
5
votes
0 answers

Postsharp and Fody Compatibility

I am using the free edition of PostSharp extensively in a project. I would like to use the PropertyChanged.Fody addin to handle all the PropertyChanged Notifications automatically. (I know that PostSharp offers a library for this, but it is not…
Michal Steyn
  • 331
  • 2
  • 5
5
votes
4 answers

How to properly remove PropertyChanged.Fody via NuGet

I intended to use Fody.PropertyChanged in one of my projects, and it was properly added via NuGet: Install-Package PropertyChanged.Fody I realized, it was in the wrong project, so I used the uninstall command: Uninstall-Package…
Nestor
  • 7,076
  • 5
  • 60
  • 117
4
votes
2 answers

Schrodinger's Object: WPF property won't bind/update unless I check its value code-side?

I have a Node object with a Parent that i have bound in my xaml like so, My ViewModel looks something like this public class…
Charles W
  • 1,944
  • 3
  • 19
  • 35
4
votes
1 answer

How to get Fody / PropertyChanged to work in an iOS project in Xamarin Studio?

I've installed Nuget for Xamarin Studio and tried to add Fody/PropertyChanged to my iOS solution. However I get the following error: Adding 'PropertyChanged.Fody 1.41.0.0' to ImapClientApp.iOS. Could not install package 'PropertyChanged.Fody…
Krumelur
  • 29,920
  • 21
  • 114
  • 240
4
votes
2 answers

Binding element visibility to a ViewModel property, with design-time support

I've got a WPF application using Caliburn.Micro. I want to be able to overlay the application with a shadow and progress ring (from MahApps.Metro) when I want the application to wait for some work to be done in the background. What I have at the…
Rebecca Scott
  • 2,291
  • 1
  • 24
  • 38
3
votes
2 answers

MSBuild hangs forever when Fody writes assembly

In my solution many project make use of Fody to inject the PropertyChanged weaver. Unfortunately at the end of the build, when Fody starts writing the final assembly, the process hangs and cannot be recovered. This is the MSBuild command I am…
ab_732
  • 3,093
  • 4
  • 33
  • 52
3
votes
0 answers

Fody.Propertychanged preventing Edit and Continue when used with MVVMLight

I understand that using AOP tooling could/should interfere with edit and continue for a class that is weaved. But I have a case where simply using MVVMLight and Fody.PropertyChanged in the same project prevents edit and continue anywhere if there…
3
votes
1 answer

Mobile Center is Xamarin Build is failing with pthread_mutex_lock error

I'm building a Xamarin.Forms app into Xamarin.Android using Visual Studio App Center. The app builds fine in develop and release configurations on my machine, but when I try to build on Mobile Center, the build almost completes (i.e. the MSBuild…
3
votes
1 answer

Why Can i Not call OnPropertyChanged when using [ImplementPropertyChanged]

I am implementing a class using fody ImplementPropertyChanged: [ImplementPropertyChanged] public class Translator { public string this[string Text] { get { ... } } public void Invalidate() { …
Nathan
  • 5,427
  • 9
  • 44
  • 94
3
votes
1 answer

Fody PropertyChanged does not trigger another property

I'm working on a WPF project. To prevent a lot of boiler code I'm using Fody PropertyChanged. This is a snippet of my problem: [ImplementPropertyChanged] public class MyViewModel : MyViewModelBase { public bool HasCardSet { get …
RvdK
  • 18,577
  • 3
  • 56
  • 100
3
votes
1 answer

Fody, propertychanged and setting same value?

Is there any way to configure fody to not check the value which is set to property - I have situations when value is the same and I want property to be set because I have additional logic in property setter that is not invoked.
dnf
  • 1,037
  • 1
  • 10
  • 19
1
2 3 4 5