question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fody and weaving without a reference to PropertyChanged.Fody.dll issue

See original GitHub issue

@SimonCropp: Following this discussion (https://github.com/Fody/PropertyChanged/issues/14#issuecomment-19846970), I’ve tried it. And what I’ve done:

<?xml version="1.0" encoding="utf-8" ?>
<Weavers>
</Weavers>

However, I encountered the following error:

Error/10/Fody: You don’t seem to have configured any weavers. Try adding a Fody nuget package to your project. Have a look here http://nuget.org/packages?q=fody for the list of available packages.

  • If I change FodyWeavers.xml to below:
<?xml version="1.0" encoding="utf-8"?>
<Weavers>
  <PropertyChanged />
</Weavers>

I got the following error:

Error/12/Fody: Could not find a weaver named ‘PropertyChanged’. If you have nuget package restore turned on you probably need to do a build to download the weavers. Alternatively you may have added a weaver to your ‘FodyWeavers.xml’ and forgot to add the appropriate nuget package. Perhaps you need to run ‘Install-Package PropertyChanged.Fody’. This url may provide more information http://nuget.org/packages/PropertyChanged.Fody/ .

It seems there’s a conflicting issue. Or I might have been missing something.

So, how am I supposed to resolve this issue?

Thanks.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
SimonCroppcommented, Apr 19, 2016

it removes the reference to the attribute assembly so you dont need to deploy that file

0reactions
maharacommented, Apr 20, 2016

OK. Thanks, Simon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fody not weaving PropertyChanged
I'm having trouble getting Fody & PropertyChanged working. I've got a .NET 4.7.2 project with both Fody(6.6.4) and PropertyChanged.
Read more >
Does not work with Fody - Build/Test Issues
Hi, I just found NCrunch doesn't work with Fody, while Resharper works just fine. For those not familiar with Fody, Fody is made...
Read more >
.NET IL Weaving for those who know nothing about . ...
All you got to do is install the PropertyChanged. Fody NuGet package. It'll add the Fody package as a dependency and also add...
Read more >
Newest 'fody' Questions - Stack Overflow
I'm attempting to weave a method call using Fody to fix an issue that causes some incompatibility between ReactiveUI and PropertyChanged.Fody ...
Read more >
Using Fody to Kill INotifyPropertyChanged Boilerplate Code
In this extract of Xamarin Code Hour Episode 5 Lee shows how to bring the Fody framework into your project to reduce INotifyPropertyChanged...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found