title: The "Csc" task failed unexpectedly Could not load type System.ValueTuple 3 from assembly mscorlib Version=4.0.0.0,
body: <p>While building the project in MS Visual studio 2017, it comes up with above error, i tried with restore NuGet packages, and the visuals studio shows this error, please help to resolve it</p>
  
  <pre><code>"The "Csc" task failed unexpectedly.
  System.TypeLoadException: Could not load type 'System.ValueTuple`3' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
     at Microsoft.CodeAnalysis.BuildTasks.ManagedToolTask.GenerateCommandLineCommands()
     at Microsoft.Build.Utilities.ToolTask.Execute()
     at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
     at Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__26.MoveNext() AppModelv2-WebApp-OpenIDConnect-DotNet          
  "
  </code></pre>