Giter Club home page Giter Club logo

Comments (6)

notanaverageman avatar notanaverageman commented on June 17, 2024

I have looked at the issue, but it seems that Fody only works for .NET Standard projects and this project cannot target .NET Standard since WPF does not support it. I have managed to workaround this in the past, but I have no intention to spend time on this again. I myself haven't use this package or Fody for years and I don't think I will ever again.

If you can manage to convince Fody maintainers to add support for non .NET Standard projects, I can update the project accordingly. Or if anyone is willing to fix the targets files, I can accept a PR too. However, I will not spend my time on this.

from bindables.

FreeApophis avatar FreeApophis commented on June 17, 2024

I ran into the same Problem, it compiles in Visual Studio but not with 'dotnet build'.

Other Fody plugins do not have this problem in the same project, I did not find any restriction on Fody target framework, I doubt that this is the reason: the problem is, at that place is no .dll, the dll is located:

.nuget\packages\bindables.fody\6.0.0\lib\<platform>\Bindables.Fody.dll
not in .nuget\packages\bindables.fody\6.0.0\Bindables.Fody.dll

Please at least inform Fody, that this plugin is no loger maintained, it is still listed on Fody as a maintained plugin:

https://github.com/Fody/Home/blob/master/pages/addins.md

from bindables.

notanaverageman avatar notanaverageman commented on June 17, 2024

I created a pull request to remove this addin from that list.

The problem is that Fody assumes the projects targets either .NET Framework or .NET Standard or both. WPF libraries are not allowed to target .NET Standard. I have copied .targets and .props files from Fody in the past and it seems that the way that Fody expects the NuGet package structure has changed. So these .targets and .props files should be somehow updated unless Fody supports this library's case and then they can be removed completely.

As I said earlier, I don't intend to spend time on this and I will probably archive the project.

Related files:

from bindables.

Int32Overflow avatar Int32Overflow commented on June 17, 2024

@notanaverageman You wrote that you no longer use Fody. Do you use another tool in the meantime? How do you write DependencyProperties?

from bindables.

notanaverageman avatar notanaverageman commented on June 17, 2024

Until a few months ago I was writing them manually. Recently I have rewritten the project as a Roslyn source generator, but haven't found the time to update the documentation.

New version is available as a NuGet package, but for now you have to look at the test cases to learn how to use it.

from bindables.

notanaverageman avatar notanaverageman commented on June 17, 2024

I have updated the documentation.

from bindables.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.