Open AbdullahUlber opened 4 years ago
The error message has been been updated in the Fody package:
Failed to execute weaver {weaver.Config.AssemblyPath} due to a failure to load ValueTuple.
This is a known issue with in dotnet (https://github.com/dotnet/runtime/issues/27533).
The recommended work around is to avoid using ValueTuple inside a weaver.
I guess that this means that any code using this package should not try to use tuples that would be written to FodyWeavers.xml. I have played around with removing the tuple returned by TrackDerivedFunction and ComputeValue (i.e. removing the exceptions returned with the values) but it still is causing this error in the sample projects.
I've created a new version 0.4.0 which should appear on nuget shortly.
When building the Cortex.Net.BlazorTodo sample project from Jul 15, 2020 on VS 2019 (16.7.2) I get the build error below. The same build error appears for a new Blazor WebAssembly project when adding the Cortex.Net weaver to FodyWeavers.xml.
The error message suggests that Fody tries to find System.ValueTuple 4.0.3.0 or 4.0.0.0 while .NET Standard 2.1 includes System.ValueTuple 4.0.2.0.