Rajesh AR
Subscriber

An unexpected error has occurred: Could not load type 'System.Runtime.InteropServices.OSPlatform' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
System.TypeLoadException: Could not load type 'System.Runtime.InteropServices.OSPlatform' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
   at Ansys.Utilities.FileSystem.d__55.MoveNext()
   at Ansys.Core.FileManagement.ProjectDirectoryTracker.GetNextSessionFileIndex(String sessionFilesDir)
   at Ansys.Core.FileManagement.ProjectDirectoryTracker.GetNextSessionJournalFile()
   at Ansys.Core.FileManagement.ProjectSessionRecorder.StartSessionRecording(IProtectedContext commandContext)
   at Ansys.Core.DataModel.ProjectSystem.ResetCommand.Execute(IFullContext context)
   at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
   at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
   at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: Could not load type 'System.Runtime.InteropServices.OSPlatform' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
CommandName: Reset()
   at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
   at Ansys.Core.DataModel.ProjectSystem.ResetCommand.InvokeAndWait(IProtectedContext context)
   at Ans.Program.Runtime.Initialize(RuntimeSettings settings)