Skip to content

Commit d92173d

Browse files
committed
progress on SQL2019 build
1 parent bb52b05 commit d92173d

4 files changed

Lines changed: 15 additions & 3 deletions

File tree

SQL2017_VS2017_BidsHelper.csproj.user

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<StartArguments>/rootsuffix Exp</StartArguments>
77
<DeployTargetInstanceId />
88
</PropertyGroup>
9+
<PropertyGroup>
10+
<ProjectView>ShowAllFiles</ProjectView>
11+
</PropertyGroup>
912
</Project>

SSIS/ExpressionHighlighterPlugin.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,8 @@ internal void BuildToDos(Window GotFocus, DtsObject oIncrementalObject, int? iIn
417417
}
418418
}
419419

420+
if (executable == null) continue; //are going to get an error on ContainsKey anyway
421+
420422
TaskHighlightingToDo todo;
421423
lock (highlightingToDos)
422424
{

SSIS/PerformanceVisualization/PerformanceTab.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ private static string DtsPathRegistryPath
7070
return @"SOFTWARE\Microsoft\Microsoft SQL Server\130\SSIS\Setup\DTSPath";
7171
case SsisTargetServerVersion.SQLServer2017:
7272
return @"SOFTWARE\Microsoft\Microsoft SQL Server\140\SSIS\Setup\DTSPath";
73+
case SsisTargetServerVersion.SQLServer2019:
74+
return @"SOFTWARE\Microsoft\Microsoft SQL Server\150\SSIS\Setup\DTSPath";
7375
default:
7476
throw new Exception("Unknown deployment version, DTSPATH_REGISTRY_PATH cannot be determined.");
7577
}

SSIS/SSISHelpers.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ public enum SsisTargetServerVersion
1616
SQLServer2012 = 110,
1717
SQLServer2014 = 120,
1818
SQLServer2016 = 130,
19-
SQLServer2017 = 140
19+
SQLServer2017 = 140,
20+
SQLServer2019 = 150
2021
}
2122

2223
public static class SSISHelpers
2324
{
2425

25-
#if SQL2017
26+
#if SQL2019
27+
public const string CreationNameIndex = "7";
28+
#elif SQL2017
2629
public const string CreationNameIndex = "6";
2730
#elif SQL2016
2831
public const string CreationNameIndex = "5";
@@ -69,7 +72,9 @@ private static SsisTargetServerVersion CompilationVersion
6972
{
7073
get
7174
{
72-
#if SQL2017
75+
#if SQL2019
76+
return SsisTargetServerVersion.SQLServer2019;
77+
#elif SQL2017
7378
return SsisTargetServerVersion.SQLServer2017;
7479
#elif SQL2016
7580
return SsisTargetServerVersion.SQLServer2016;

0 commit comments

Comments
 (0)