Error Add-Migration after Update to Version 17.2.0 Preview 2.1

karwan essmat 1 Reputation point
2022-04-08T18:05:07.717+00:00

After updating visual studio to Version 17.2.0 Preview 2.1 I got error while I want to Add-Migration "AddOrderTrackPaymentToOrderTable" as below shown:

Add-Migration : Exception calling "Start" with "1" argument(s): "The specified executable is not a valid application for this OS platform."
At line:1 char:1

  • Add-Migration AddOrderTrackPaymentToOrderTable
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : NotSpecified: (:) [Add-Migration], MethodInvocationException
  • FullyQualifiedErrorId : Win32Exception,Add-Migration
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.