efcore icon indicating copy to clipboard operation
efcore copied to clipboard

Add-Migration InitialCreate

Open ravipatel3482 opened this issue 6 years ago • 6 comments

Add-Migration : The term 'Add-Migration' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

  • Add-Migration InitialCreate
  •   + CategoryInfo          : ObjectNotFound: (Add-Migration:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
    

Environment

netcoreapp3.1 wwwroot\favicon.ico

ravipatel3482 avatar May 20 '20 15:05 ravipatel3482

@Raviniki Please post your csproj file.

ajcvickers avatar May 20 '20 16:05 ajcvickers

netcoreapp3.1 wwwroot\favicon.ico

ravipatel3482 avatar May 20 '20 16:05 ravipatel3482

netcoreapp3.1 wwwroot\favicon.ico

On Wed, May 20, 2020 at 12:45 PM Arthur Vickers [email protected] wrote:

@Raviniki https://github.com/Raviniki Please post your csproj file.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dotnet/efcore/issues/21000#issuecomment-631593662, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJFU5VMGQZPCPPYBS564TDRSQCMBANCNFSM4NGB2QZQ .

ravipatel3482 avatar May 20 '20 16:05 ravipatel3482

@Raviniki You'll need to install the required NuGet packages. See the documentation here: https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/powershell

ajcvickers avatar May 20 '20 17:05 ajcvickers

i see i have different version for tool and different version for sqlserver thanks man

On Wed, May 20, 2020 at 1:03 PM Arthur Vickers [email protected] wrote:

@Raviniki https://github.com/Raviniki You'll need to install the required NuGet packages. See the documentation here: https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/powershell

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dotnet/efcore/issues/21000#issuecomment-631603525, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJFU5ST57DWMU3V6OUGMYLRSQEPFANCNFSM4NGB2QZQ .

ravipatel3482 avatar May 20 '20 17:05 ravipatel3482

solved

ravipatel3482 avatar May 20 '20 17:05 ravipatel3482