mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 17:22:29 -05:00
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:
@@ -82,9 +82,6 @@ export default class MainController implements vscode.Disposable {
|
||||
IconPathHelper.setExtensionContext(this.extensionContext);
|
||||
|
||||
await templates.loadTemplates(path.join(this.context.extensionPath, 'resources', 'templates'));
|
||||
|
||||
// ensure .net core is installed
|
||||
await this.netcoreTool.findOrInstallNetCore();
|
||||
}
|
||||
|
||||
public dispose(): void {
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user