I have just taken over a C# application, which seems to use some Fody
library (whatever that means). First I had some problems that the Fody
things were not working, not recognised, ..., and I've removed the Fody
package and the PropertyChanged
libraries from my PC and re-installed it again, but now I have two other error messages:
3>C:\My_App_Directory\packages\Fody.6.6.4\build\Fody.targets(50,9): error MSB4064: The "DelaySign" parameter is not supported by the "Fody.WeavingTask" task loaded from assembly: Fody, Version=4.2.1.0, Culture=neutral, PublicKeyToken=1ca091877d12ca03 from the path: C:\My_App_Directory\packages\Fody.4.2.1\netclassictask\Fody.dll. Verify that the parameter exists on the task, the <UsingTask> points to the correct assembly, and it is a settable public instance property.
3>C:\My_App_Directory\packages\Fody.6.6.4\build\Fody.targets(40,5): error MSB4063: The "Fody.WeavingTask" task could not be initialized with its input parameters.
For your information, this is what my application "looks" like:
The "packages.config" file:
<packages>
...
<package id="Fody" version="6.6.4" targetFramework="net461" developmentDependency="true" />
...
<package id="PropertyChanged.Fody" version="4.1.0" targetFramework="net461" />
...
(Previously there were older versions.)
The "FodyWeavers.xml" file:
<?xml version="1.0" encoding="utf-8"?>
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="FodyWeavers.xsd"/>
Previously this contained a <PropertyChanged/>
tag.
Putting that tag back results in the already mentions error messages.
I have understood that this "Fody" stuff makes it possible for my GUI-based event to react on "PropertyChanged" events, but why does it mess up my build process and how can I build my application?
Thanks in advance