DBreeze: Could not load file or assembly ‘System.Xml.XmlSerializer
On linux I got this exception, I added ref to nuget package System.Xml.XmlSerializer, Version=4.0.11.0 and it seems to have done the trick… unsure why it happens though, your code has no dependency on XmlSerializer.
System.IO.FileNotFoundException: Could not load file or assembly ‘System.Xml.XmlSerializer, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified.
File name: ‘System.Xml.XmlSerializer, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’
at DBreeze.Transactions.TransactionsCoordinator.Commit(Int32 transactionThreadId)
at DBreeze.Transactions.Transaction.Commit()
at ElementsExplorer.Repository.MarkAsUsed(KeyInformation info) in /home/zwoc/workspace/ElementsExplorer/ElementsExplorer/Repository.cs:line 203
at ElementsExplorer.Controllers.MainController.<Sync>d__5.MoveNext() in /home/zwoc/workspace/ElementsExplorer/ElementsExplorer/Controllers/MainController.cs:line 46
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor.<CastToObject>d__38`1.MoveNext()
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 29 (14 by maintainers)
I confirm this fixed the situation.
New DBreeze 1.88 is released and also in nuget (looks like I was waiting for you to release 👍 )