Skip to content

Commit 68bf558

Browse files
Update assembly-lists.ps1
1 parent 3db2e41 commit 68bf558

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

private/assembly-lists.ps1

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ $script:CoreAssemblies = @(
3434
'Microsoft.SqlServer.Management.XEventDbScoped',
3535
'Microsoft.SqlServer.Rmo',
3636

37-
# Analysis Services components
38-
'Microsoft.AnalysisServices.Core',
39-
'Microsoft.AnalysisServices',
40-
'Microsoft.AnalysisServices.Tabular',
41-
'Microsoft.AnalysisServices.Tabular.Json'
4237
)
4338

4439
# DAC-specific assemblies - required for database project and schema management
@@ -83,11 +78,13 @@ $script:AssemblyLoadOrder = @(
8378
'Microsoft.SqlServer.Management.HadrModel',
8479

8580
# SSIS components - reserved for future use
86-
# Analysis Services components
87-
'Microsoft.AnalysisServices.Core',
88-
'Microsoft.AnalysisServices',
89-
'Microsoft.AnalysisServices.Tabular',
90-
'Microsoft.AnalysisServices.Tabular.Json',
81+
# Analysis Services components - conditionally loaded for DSC
82+
if ($Env:SMODefaultModuleName) {
83+
'Microsoft.AnalysisServices.Core',
84+
'Microsoft.AnalysisServices',
85+
'Microsoft.AnalysisServices.Tabular',
86+
'Microsoft.AnalysisServices.Tabular.Json'
87+
}
9188

9289
# DAC components - load last due to dependencies
9390
'Microsoft.Data.Tools.Schema.Sql',

0 commit comments

Comments
 (0)