mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
remove sql server 2005 and 2008 as options for sql database projects (#18664)
* remove sql server 2005 and 2008 from target platforms * also remove 2005 and 2008 from SqlTargetPlatform enum * fix a windows test
This commit is contained in:
@@ -510,8 +510,6 @@ export function differentDbDifferentServerExampleUsage(server: string, db: strin
|
||||
|
||||
// Target platforms
|
||||
export const targetPlatformToVersion: Map<string, string> = new Map<string, string>([
|
||||
[SqlTargetPlatform.sqlServer2005, '90'],
|
||||
[SqlTargetPlatform.sqlServer2008, '100'],
|
||||
[SqlTargetPlatform.sqlServer2012, '110'],
|
||||
[SqlTargetPlatform.sqlServer2014, '120'],
|
||||
[SqlTargetPlatform.sqlServer2016, '130'],
|
||||
|
||||
@@ -173,8 +173,6 @@ declare module 'sqldbproj' {
|
||||
* Target platforms for a sql project
|
||||
*/
|
||||
export const enum SqlTargetPlatform {
|
||||
sqlServer2005 = 'SQL Server 2005',
|
||||
sqlServer2008 = 'SQL Server 2008',
|
||||
sqlServer2012 = 'SQL Server 2012',
|
||||
sqlServer2014 = 'SQL Server 2014',
|
||||
sqlServer2016 = 'SQL Server 2016',
|
||||
|
||||
@@ -30,7 +30,7 @@ describe('BuildHelper: Build Helper tests', function (): void {
|
||||
const resultArg = buildHelper.constructBuildArguments('dummy\\project path\\more space in path', 'dummy\\dll path', true);
|
||||
|
||||
if (os.platform() === 'win32') {
|
||||
should(resultArg).equal(' build "dummy\\\\project path\\\\more space in path" /p:NetCoreBuild=true /p:SystemDacpacsLocation=="dummy\\\\dll path"');
|
||||
should(resultArg).equal(' build "dummy\\\\project path\\\\more space in path" /p:NetCoreBuild=true /p:SystemDacpacsLocation="dummy\\\\dll path"');
|
||||
}
|
||||
else {
|
||||
should(resultArg).equal(' build "dummy/project path/more space in path" /p:NetCoreBuild=true /p:SystemDacpacsLocation="dummy/dll path"');
|
||||
|
||||
Reference in New Issue
Block a user