Skip to content

Commit

Permalink
Add all Microsoft.SqlServer dlls into the output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric L. Charlier committed Jul 30, 2018
1 parent b5fb785 commit 2caab7d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions NBi.Core.SqlServer/build-multiple-version.ps1
Expand Up @@ -37,19 +37,11 @@ foreach ($version in $versions)
if ($versionSuccess)
{
Write-Verbose "Copying SMO librairies to NBi.NUnit.Runtime ..."
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.ConnectionInfo.dll $root\..\NBi.NUnit.Runtime\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.Management.Sdk.Sfc.dll $root\..\NBi.NUnit.Runtime\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.Smo.dll $root\..\NBi.NUnit.Runtime\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.BatchParserClient.dll $root\..\NBi.NUnit.Runtime\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.SqlEnum.dll $root\..\NBi.NUnit.Runtime\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.*.dll $root\..\NBi.NUnit.Runtime\Bin\Debug\
Write-Verbose "SMO librairies copied to NBi.NUnit.Runtime"

Write-Verbose "Copying SMO librairies to NBi.Testing ..."
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.ConnectionInfo.dll $root\..\NBi.Testing\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.Management.Sdk.Sfc.dll $root\..\NBi.Testing\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.Smo.dll $root\..\NBi.Testing\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.BatchParserClient.dll $root\..\NBi.Testing\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.SqlEnum.dll $root\..\NBi.Testing\Bin\Debug\
Copy-Item $root\Bin\Debug\SqlServer$versionSuccess\Microsoft.SqlServer.*.dll $root\..\NBi.Testing\Bin\Debug\
Write-Verbose "SMO librairies copied to NBi.Testing"
}
else
Expand Down

0 comments on commit 2caab7d

Please sign in to comment.