Launch asp.net Core applications through Powersell



  • I need to launch asp.net Core an annex that has been stabilized for self-deployment by PowerShell. When we start through the file file file, the annex is off-line. Calling the PowerShell team. Start-Process "{myPath}\bin\Debug\netcoreapp3.1\app\App.exe" I'm getting a mistake.

    An error occurred while seeding the database.
    System.ArgumentNullException: Value cannot be null. (Parameter 'connectionString')
    

    Can you tell me what the problem is?



  • Problem solved. The launch should be carried out in advance to the directory with the completed file.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2