Issue when Run App Locally : Could not load file or assembly System.Xml

0
I am using Mendix Studio Pro 10.16.1 to do the exercise of Become a Rapid Developer.  When Run app Locally, it report below issue:   System.AggregateException: One or more errors occurred. (Could not load file or assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.) (Could not load file or assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.) (Could not load file or assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.) ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.File name: 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'   at Nustache.Core.RenderContext.GetValue(String path)   at Nustache.Core.VariableReference.Render(RenderContext context)   at Nustache.Core.Section.RenderParts(RenderContext context)   at Nustache.Core.Section.Render(RenderContext context)   at Nustache.Core.Template.Render(Object data, TextWriter writer, TemplateLocator templateLocator, RenderContextBehaviour renderContextBehaviour)   at Mendix.Modeler.CodeGeneration.TemplateWriter.FillTemplate(Object data, String templateText) in Mendix.Modeler.CodeGeneration\TemplateWriter.cs:line 38   at Mendix.Modeler.CodeGeneration.TemplateWriter.WriteTemplate(String filePath, Object data, String templateText) in Mendix.Modeler.CodeGeneration\TemplateWriter.cs:line 28   at Mendix.Modeler.CodeActions.ActionCodeGenerator`1.Generate(IProject project, TAction action) in Mendix.Modeler.CodeActions\CodeGeneration\ActionCodeGenerator.cs:line 63   at Mendix.Modeler.CodeActions.ActionCodeGenerator`1.<>c__DisplayClass7_0.<GenerateAll>b__1(TAction action) in Mendix.Modeler.CodeActions\CodeGeneration\ActionCodeGenerator.cs:line 41   at System.Threading.Tasks.Parallel.<>c__DisplayClass43_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)--- End of stack trace from previous location ---   at System.Threading.Tasks.Parallel.<>c__DisplayClass43_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)   at System.Threading.Tasks.TaskReplicator.Replica.Execute()   --- End of inner exception stack trace ---   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)--- End of stack trace from previous location ---   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
asked
1 answers
1

Seems the issue resolved by restarting system.

answered