We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dc245a commit e0c964cCopy full SHA for e0c964c
tests/QA/ScriptAnalyzer.Tests.ps1
@@ -39,7 +39,7 @@ BeforeDiscovery {
39
(from Indented.ScriptAnalyzerRules) can properly parse parameters that uses SMO types,
40
e.g. [Microsoft.SqlServer.Management.Smo.Server].
41
#>
42
- Add-Type -Path "$PSScriptRoot/../Unit/Stubs/SMO.cs"
+ Add-Type -Path "$PSScriptRoot/../Unit/Stubs/SMO.cs" -ReferencedAssemblies 'System.Data', 'System.Xml'
43
44
$repositoryPath = Resolve-Path -Path (Join-Path -Path $PSScriptRoot -ChildPath '../..')
45
$sourcePath = Join-Path -Path $repositoryPath -ChildPath 'source'
0 commit comments