Comments (6)
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.
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.
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.
@notanaverageman You wrote that you no longer use Fody. Do you use another tool in the meantime? How do you write DependencyProperties?
from bindables.
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.
I have updated the documentation.
from bindables.
Related Issues (20)
- Application freeze when declaring DP in class with generic HOT 2
- Bindables reference problem .NET Framework 4.7.1 HOT 7
- .NET 4.5.2 compatibility HOT 2
- Update needed to support future fody versions HOT 1
- Update needed to work with fody 4.0+ HOT 2
- Bindables v4.0.0 reference problem .NET Core 3.0 preview HOT 3
- Cannot get DependencyPropertyDescriptor HOT 2
- Support .NET Core HOT 2
- Update needed to work with fody 6.0+ HOT 2
- Code generation not worked HOT 7
- Error when trying to run tests dependant on libs using Bindables HOT 1
- Support for `CoerceValueCallback` in Source Generator HOT 2
- Can't generate dependency property and attached property in the same class
- False errors on property changed and coerce value callbacks if parameters are declared as nullable
- Error: Out of date version of Mono.Cecil.dll HOT 3
- Update to fody 3.0 HOT 4
- Get method of an attached property cause false compiler errors if return type is an array.
- Support for coerceValueCallback HOT 1
- Error Build with generic.xaml and CustomControl HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bindables.