build error
1>C:\Users\eschneider\Downloads\sqlconverter-master\Converter\MainForm.cs(15,27,15,37): error CS0234: The type or namespace name 'Management' does not exist in the namespace 'Microsoft.SqlServer' (are you missing an assembly reference?)
Googling the error message gives some suggestions - what have you tried?
Hi.
Part of the problem is that Converter.csproj has hard-coded relative paths to assembly references:
<HintPath>..\..\..\..\..\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.ConnectionInfo.dll</HintPath>
<HintPath>..\..\..\..\..\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.Management.Sdk.Sfc.dll</HintPath>
<HintPath>..\..\..\..\..\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.Smo.dll</HintPath>
<HintPath>..\..\..\..\..\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.SqlEnum.dll</HintPath>
I think it may be better if these were referenced as NuGet packages instead.
Thank you.
I'm afraid I no longer have the time to maintain this tool. Anyone who wants to take it over is welcome, or just submit a pull request.