mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 17:22:29 -05:00
fix SDK style projects not being able to find system dacpacs (#18218)
* fix SDK style projects not being able to find system dacpacs * fix tests
This commit is contained in:
@@ -832,7 +832,8 @@ export class Project implements ISqlProject {
|
||||
|
||||
public getSystemDacpacUri(dacpac: string): Uri {
|
||||
const versionFolder = this.getSystemDacpacFolderName();
|
||||
return Uri.parse(path.join('$(NETCoreTargetsPath)', 'SystemDacpacs', versionFolder, dacpac));
|
||||
const systemDacpacLocation = this.isSdkStyleProject ? '$(SystemDacpacsLocation)' : '$(NETCoreTargetsPath)';
|
||||
return Uri.parse(path.join(systemDacpacLocation, 'SystemDacpacs', versionFolder, dacpac));
|
||||
}
|
||||
|
||||
public getSystemDacpacSsdtUri(dacpac: string): Uri {
|
||||
|
||||
Reference in New Issue
Block a user