Skip to content

Commit

Permalink
Fix the new project structure where SMO calls are independant of the …
Browse files Browse the repository at this point in the history
…SqlServer version
  • Loading branch information
Cédric L. Charlier committed Sep 14, 2019
1 parent c751bba commit 68de752
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class BatchRunnerProvider
public IBatchRunnerFactory Instantiate(string version)
{
var directory = AssemblyDirectory;
var filename = $"NBi.Core.{version}.dll";
var filename = $"NBi.Core.SqlServer.dll";
var filepath = $"{directory}\\{filename}";
if (!File.Exists(filepath))
throw new InvalidOperationException($"Can't find the dll for version '{version}' in '{directory}'. NBi was expecting to find a dll named '{filename}'.");
Expand Down

0 comments on commit 68de752

Please sign in to comment.