-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrading to Unity.Abstractions v5.x #1
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
Comments
Tried to redirect |
No actually it compiles if I revert packages to <package id="Unity.Abstractions" version="3.3.0" targetFramework="net462" />
<package id="Unity.Container" version="5.8.6" targetFramework="net462" /> but it breaks I guess updating the library with recent packages is more proper way but not sure. |
Actually, things might appear more complicated
|
Hi @Brains Thank you for taking time to investigate and the detailed report. A colleague at work ran into a similar problem with Unity.Abstractions v5.x From a cursory glance, it seems there is a lot of useful info in the discussion you linked to. Unfortunately, at the moment, I cannot provide an estimate of how long it's going to take me to update the code, but I'll try to not make it too long. |
Sure, thanks. |
Hey @mykolav - any update on this? We've just ran into the same issue. If you're taking PRs I can probably take a weekend to try and fix it. |
@tomzorz I'd sure be glad to take a PR. |
If you decide to delve into it, please notice the <ItemGroup>
<Compile Include="..\ParameterizedAutoFactory.Unity\ParameterizedAutoFactoryBuilderStrategy.cs" Link="ParameterizedAutoFactoryBuilderStrategy.cs" />
<Compile Include="..\ParameterizedAutoFactory.Unity\ParameterizedAutoFactoryExtension.cs" Link="ParameterizedAutoFactoryExtension.cs" />
</ItemGroup> It can potentially be somewhat confusing. But I didn't come up with a better way to share the code. |
We wanted to use the v5 one, but then I got yelled at by error messages :) Thanks for the heads-up, I'll probably take a look in the coming weeks. |
I upgraded the extension's dependencies to Unity.Abstractions 4.0.0, Please give the updated package a try and let me know whether it works for you. |
As it turns out, https://www.nuget.org/packages/ParameterizedAutoFactory.Unity5/0.0.11 |
@mykolav Sorry for Offtopic: I am going to add support for |
@Brains Great to hear it! Speaking of the PR. Thanks for suggesting it! But I'd really like this extension to have Unity as the only dependency. |
Sure, I will return later with pull request and will discuss. Actually, I am totally ok without merging into your repo back, |
Can't use your library with
Unity.Abstractions v5.x
because ofSo your library references
Unity.Abstractions 3.3.0.0
withold
token while my project references recentUnity.Container
which in turn referencesUnity.Abstractions
withnew
token. Hence,nuget
considers two versions of the same library as different assemblies and requires both. However, can't install both since it is singlenuget
package.Can you please update your library with
Unity.Abstractions
ofnew
token?The text was updated successfully, but these errors were encountered: