Search results for query: *

  • Users: demetsen
  • Content: Threads
  • Order by date
  1. D

    Scaffolding after install the program

    Hi everyone, Is it possible to do scaffolding after install our program and run it? Is using powershell right way to go to do this? Or what else can I do? I need any advice of you. Thank you.
  2. D

    Run Scaffolding Command in C# Code with Powershell Runspace

    Hi, I need to do scaffolding in code. To do this I wrote this method; public string RunScript(string scriptText) { string dir = @"C:\Users\demetsen\source\repos\ScaffoldingInCode\ScaffoldingInCode"; Directory.SetCurrentDirectory(dir); Runspace...
  3. D

    The term 'Scaffold-DbContext' is not recognized as the name of a cmdlet, function, script file, or operable program.

    Hi everyone, I am running PowerShell in C# code and actually it runs properly. But, when I try to do scaffolding it returns this error: The term 'Scaffold-DbContext' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a...
  4. D

    Cannot load PowerShell snap-in Microsoft.PowerShell.Diagnostics

    Hi, I need to run powershell command in C# code for a scaffolding. This is a .NET Entity Framework Core Console project. I will take a Database string from a user and use DB First Method to link the database. Is this possible to do this? This is my code: This is the output that I get...
Back
Top Bottom