My issue was fixed when I changed the wwwroot/index.html and changed this line from: <link href="{OldProjectName}.styles.css" rel="stylesheet" /> into: <link href="{NewProjectName}.styles.css" rel="stylesheet" />
wwwroot/index.html
<link href="{OldProjectName}.styles.css" rel="stylesheet" />
<link href="{NewProjectName}.styles.css" rel="stylesheet" />