Skip to content

Commit

Permalink
Add Microsoft.SqlServer.BatchParserClient.dll to ouput
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric L. Charlier committed Aug 23, 2017
1 parent d843cfa commit 38b24af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NBi.Core.SqlServer/NBi.Core.SqlServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
<Reference Include="Microsoft.SqlServer.Smo, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" >
<HintPath>..\packages\Microsoft.SqlServer.SqlManagementObjects.140.17177.0\lib\net40\Microsoft.SqlServer.Smo.dll</HintPath>
</Reference>
<Reference Include="Microsoft.SqlServer.BatchParserClient, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" >
<HintPath>..\packages\Microsoft.SqlServer.SqlManagementObjects.140.17177.0\lib\net40\Microsoft.SqlServer.BatchParserClient.dll</HintPath>
</Reference>
</ItemGroup>
<Choose>
<When Condition="$(Version) == 'SqlServer2017'">
Expand Down
2 changes: 2 additions & 0 deletions NBi.Core.SqlServer/build-multiple-version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ if ($versionSuccess)
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\
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\
Write-Verbose "SMO librairies copied to NBi.Testing"
}
else
Expand Down

0 comments on commit 38b24af

Please sign in to comment.