Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #1

Open
eschneider999 opened this issue Jul 22, 2018 · 3 comments
Open

build error #1

eschneider999 opened this issue Jul 22, 2018 · 3 comments

Comments

@eschneider999
Copy link

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?)

@jschultz
Copy link
Owner

Googling the error message gives some suggestions - what have you tried?

@icnocop
Copy link

icnocop commented Aug 16, 2018

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.

@jschultz
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants