I am trying to add new field to my user table.
When I run Add-Migration newMigration, below error occurs.
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The term 'dotnet' 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.
ApplicationUser.cs
using System;
using Microsoft.AspNetCore.Identity;
namespace fublight_server.Authentication
{
public class ApplicationUser:IdentityUser
{
public string FirstName { get; set; } // new field
public string LastName { get; set; } // new field
}
}
