-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
StackExchange.Redis.StrongName problem in AspNetCore 2.0 #697
Comments
Ultimately we're included in the <PackageReference Include="StackExchange.Redis" Version="1.2.6" /> |
i installed the newer version of the strong named package, but, is it intended to only allow strong named versions for dotnet core? it was quite confusing until i got what was going on. |
@Rodrigo-Andrade There are just 2 packages (one strong, one not). We agree it's confusing since we've gotten so populate (dependency tree-wise). In V2 the main package will be strongly named and |
For others who have run into this issue where .Net Core is still referencing the StrongName package see this issue for the workaround: NuGet/Home#4989 |
We totally missed an opportunity to ship V2 of SE.Redis, Dapper, etc - with
all the breaking changes - on 1st April. Dammit.
…On Tue, 3 Apr 2018, 19:04 Jonathan Kellenberg, ***@***.***> wrote:
For others who have run into this issue where .Net Core is still
referencing the StrongName package see this issue for the workaround:
NuGet/Home#4989 <NuGet/Home#4989>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#697 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABDsI1JEb_A8YG-77snGNy-lIHbALSNks5tk7m0gaJpZM4O8f05>
.
|
When is this going to be resolved? The workaround mentioned does make |
If your using netcore 2.1 @elestedt you should be able to move to the new meta-package |
@chris-brown I am on the |
Swapping to |
Removed the PackageReference to StackExchange.Redis.StrongName as it has been explicitly referenced in the Microsoft.AspNetCore.App package Fixes build error CS0433 The type 'ConnectionMultiplexer' exists in both 'StackExchange.Redis.StrongName, Version=1.2.6.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46' and 'StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce4' See StackExchange/StackExchange.Redis#697 (comment)
simply install only the nuget-package: |
how to go away?. i have tryed everything |
Does anyone has a fix for this? I am trying to upgrade |
@mcheung610 Please see this issue 4989 on nuget home |
I rembember that edit project file write versions by hand and after it seem to ok |
Does anyone has a fix for this |
Without knowing your build dependencies, that's hard to comment on, but: from v2, the StrongName package is effectively redundant and obsolete |
Ah I see - they changed the package name after 2.x, see https://www.nuget.org/packages/Microsoft.Extensions.Caching.StackExchangeRedis/3.1.8 instead of |
I am porting an app from the full framework to the new dotnetcore 2.0.
I added StackExchange.Redis as a nuget dependency, when i build the solution i get this:
Error CS0433 The type 'IDatabase' exists in both 'StackExchange.Redis.StrongName, Version=1.2.4.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46' and 'StackExchange.Redis, Version=1.2.6.0, Culture=neutral, PublicKeyToken=null'
my csproj:
The text was updated successfully, but these errors were encountered: