Remove sql project build dependency on STS (#20447)

* download Microsoft.Build.Sql sdk and extract

* cleanup extracted folder and nuget

* add constants

* cleanup

* remove package-lock.json

* making outputChannel required and some cleanup

* only download if the files aren't already there

* Add todo

* add try catches

* addressing comments
This commit is contained in:
Kim Santiago
2022-08-31 14:04:06 -07:00
committed by GitHub
parent eedf6e01c3
commit 8926c4f605
7 changed files with 793 additions and 309 deletions

View File

@@ -230,8 +230,10 @@ export class ProjectsController {
this.buildInfo.shift(); // Remove the first element to maintain the length
}
// Check mssql extension for project dlls (tracking issue #10273)
await this.buildHelper.createBuildDirFolder();
// get dlls and targets file needed for building for legacy style projects
if (!project.isSdkStyleProject) {
await this.buildHelper.createBuildDirFolder(this._outputChannel);
}
const options: ShellCommandOptions = {
commandTitle: 'Build',