değiştirildi Bu 2013Fody hataları nedeniyle proje derlenemiyor. Fody (veya başka bir kodu) ile hiçbir **
alıyorum hata masif ve çoğunlukla yararsız Visual Studio içinde bir konudur, ama bunun püf noktası
olduğunuError 130 Fody: Could not load 'ModuleWeaver' from 'PropertyChanged.Fody, Version=1.50.3.0, Culture=neutral, PublicKeyToken=null' due to ReflectionTypeLoadException.
It is possible you need to update the package.
exception.LoaderExceptions:
System.IO.FileLoadException: Could not load file or assembly 'Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
Yine hiçbir değişiklik olmadığından, sorunun genel olarak ne olduğu hakkında hiçbir fikrim yok. Bu aradığı DLL her zaman oturuyordu aynı yerde oturuyor.
Ayrıca hata iddia Fody" içeride gerçekleşiyor:
Düzenleme: o Edit 2 yenisini
Error 42 The "Fody.WeavingTask" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cecil, Version=0.9.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
File name: 'Mono.Cecil, Version=0.9.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
at ExceptionExtensions.LogException(ILogger logger, Exception exception)
at Processor.Execute() in c:\TeamCity\buildAgent\work\7495521761d392b9\Fody\Processor.cs:line 56
at Fody.WeavingTask.Execute() in c:\TeamCity\buildAgent\work\7495521761d392b9\Fody\WeavingTask.cs:line 44
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
fabrikasyon yüzden görünüşte bu noktada o hatayı tükürme yoruldu.
I:
<Fody.WeavingTask
AssemblyPath="@(IntermediateAssembly)"
IntermediateDir="$(IntermediateDir)"
KeyFilePath="$(FodyKeyFilePath)"
ProjectDirectory="$(ProjectDir)"
SolutionDir="$(FodySolutionDir)"
References="@(ReferencePath)"
SignAssembly="$(FodySignAssembly)"
ReferenceCopyLocalPaths="@(ReferenceCopyLocalPaths)"
DefineConstants="$(DefineConstants)"
/>
Düzenleme 3'tür hat 50 üzerinde hedefler" Fody ve Nuget ile ilişkili tüm dosyaları silme işlemi sırasında onları redownloaded. Bundan sonra hata 2 hata olarak aynıdır:
"Error 42 The "Fody.WeavingTask" task failed unexpectedly."
Düzenleme 4:
ben gerçekten bu giderilene kadar biz mutlak dururken çünkü Fody ait dev bunu görür umarım. Çalışırken ne zaman çalışıyor olacağından, çalıştığı zamana geri dönemeziz.
Eğer Mono.Cecil.dll sürümünü kontrol sağ explorer tıklatın ve özellikleri yoluyla gidebiliriz, olacak sürüm numarasını bulun. Yönlendirmeye ihtiyacınız olmayabilirse, 0.9.6.0 olduğunu kontrol edin. – Jim
Doğru sürüme işaret ediyor. 0.9.6.0. – Justin
Çözümdeki projelerimden birinin Fody'nin eski bir sürümüne başvurması ve başka bir projenin Mono.Cecil'in farklı bir sürümüne bağlı olan yeni bir Fody'ye başvurması durumunda, yukarıda bahsettiğim "Mono.Cecil" sorununu buldum. Bunu Fermi kullanan tüm projeleri nuget'ten güncel hale getirerek ve yapı sorunlarım giderildikten sonra temizledim. –