Fix sql projects net6 warnings (#17673)

* fix .net 6 error showing on startup

* fix double warning

* addressing comments

* update key string
This commit is contained in:
Kim Santiago
2021-11-16 10:02:15 -10:00
committed by GitHub
parent 1b83c4623d
commit 66c438db4d
5 changed files with 5 additions and 7 deletions

View File

@@ -252,7 +252,8 @@ export class ProjectsController {
const message = utils.getErrorMessage(err);
if (err instanceof DotNetError) {
void vscode.window.showErrorMessage(message);
// DotNetErrors already get shown by the netCoreTool so just show this one in the console
console.error(message);
} else {
void vscode.window.showErrorMessage(constants.projBuildFailed(message));
}