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

Dapper 1.50.4 not supported on Visual Studio 2012 #962

Closed
loudenvier opened this issue Mar 7, 2018 · 4 comments
Closed

Dapper 1.50.4 not supported on Visual Studio 2012 #962

loudenvier opened this issue Mar 7, 2018 · 4 comments

Comments

@loudenvier
Copy link

I've just tried installing 1.50.4 in Visual Studio 2012 and it failed with the error:

Install-Package : 'Dapper' already has a dependency defined for 'System.Data.SqlClient'.
At line:1 char:1
+ Install-Package Dapper
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

I was able to install 1.50.2 with no issues whatsoever (other than using an outdated version).

@NickCraver
Copy link
Member

This points to an outdated package manager - ensure your NuGet client for VS is up to date and then give it another go. There shouldn't be anything preventing installation here. But we also don't have VS 2012 to test with so...

@loudenvier
Copy link
Author

loudenvier commented Mar 8, 2018

The version of nuget installed in my Visual Studio 2012 is 2.8.60318.667 . I believe this is the latest version available for VS2012. I had other packages which didn't install due to the same error, and the developers told me they wouldn't be supporting Visual Studio 2012. I don't know exactly what causes it, but I believe that Dapper could try to keep support for older versions of Visual Studio, since people living in Third World Countries like Brazil (where I am right now :-) ) may not have the funds to upgrade their Visual Studio 2012 Ultimate License (here Windows 10 costs a hefty U$ 300 (U$ 100 more than in the US) and we get paid a LOT less...

But I don't even know if it will be possible to keep compatibility with older Nuget Package Managers...

@NickCraver
Copy link
Member

@loudenvier unfortunately this isn't something we can change - it's a NuGet issue that happens with newer SqlClient packages (and we have to depend on those packages or everyone else gets other SNI DLL errors). It's simply not possible to not-break users on any version of VS while supporting VS 2012. It's a crap situation and for that I'm sorry, but I don't think we have any decent options here.

@charlesroddie
Copy link

VS2017 community is a pretty decent option.

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