diff --git a/extensions/sql-database-projects/src/tools/buildHelper.ts b/extensions/sql-database-projects/src/tools/buildHelper.ts index 2741399ec5..f4992b732b 100644 --- a/extensions/sql-database-projects/src/tools/buildHelper.ts +++ b/extensions/sql-database-projects/src/tools/buildHelper.ts @@ -80,10 +80,10 @@ export class BuildHelper { return this.extensionBuildDir; } - public constructBuildArguments(projectPath: string, buildDirPath: string, isNetCoreSdkStyleProject: boolean): string { + public constructBuildArguments(projectPath: string, buildDirPath: string, isSdkStyleProject: boolean): string { projectPath = utils.getQuotedPath(projectPath); buildDirPath = utils.getQuotedPath(buildDirPath); - if (isNetCoreSdkStyleProject) { + if (isSdkStyleProject) { return ` build ${projectPath} /p:NetCoreBuild=true`; } else { return ` build ${projectPath} /p:NetCoreBuild=true /p:NETCoreTargetsPath=${buildDirPath}`;