Replies: 5 comments 5 replies
-
ImageSharp has no direct dependencies other than the runtime itself. Why have you installed an old version of System.Numerical.Vectors when it is not required for .NET 6? |
Beta Was this translation helpful? Give feedback.
0 replies
-
But it IS the latest version!
I can’t find a later one. It’s not on nuget or anywhere else.
If you know where to find it, please, tell me!
B. Paluch
<tel:718-704-0606> 718 704-0606 Ext. 101
<http://www.brooklynwebcenter.com/> brooklynwebcenter.com
Manage your business online! Give your customers access to their accounts 24/7!
We specialize in custom business solutions for the web - ask for our excellent references!
From: James Jackson-South ***@***.***>
Sent: Tuesday, August 27, 2024 11:11 AM
To: SixLabors/ImageSharp ***@***.***>
Cc: bwcpaluch ***@***.***>; Author ***@***.***>
Subject: Re: [SixLabors/ImageSharp] ImageSharp references System.Numerics.Vectors, version 6.0 (Discussion #2800)
ImageSharp has no direct dependencies other than the runtime itself.
Why have you installed an old version of System.Numerical.Vectors when it is not required for .NET 6?
—
Reply to this email directly, view it on GitHub <#2800 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AR3VIIAERI2N62WA4372UN3ZTSJHDAVCNFSM6AAAAABNGHNCVGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGQ3DKNQ> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AR3VIIF6D2JH7YGGTVQKAITZTSJHDA5CNFSM6AAAAABNGHNCVGWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAT6WZA.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
1 reply
-
So I can uninstall it, and the problem should fix itself?
B. Paluch
<tel:718-704-0606> 718 704-0606 Ext. 101
<http://www.brooklynwebcenter.com/> brooklynwebcenter.com
Manage your business online! Give your customers access to their accounts 24/7!
We specialize in custom business solutions for the web - ask for our excellent references!
From: James Jackson-South ***@***.***>
Sent: Tuesday, August 27, 2024 11:44 AM
To: SixLabors/ImageSharp ***@***.***>
Cc: bwcpaluch ***@***.***>; Author ***@***.***>
Subject: Re: [SixLabors/ImageSharp] ImageSharp references System.Numerics.Vectors, version 6.0 (Discussion #2800)
What I mean is you don’t need to install that package. The namespace is already part of the .NET 6 runtime. That package was released out of bounds to provide support for working with vectors on .NET Framework and .NET Standard.
—
Reply to this email directly, view it on GitHub <#2800 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AR3VIIDGWBJ3XH7NBBP67GTZTSNDRAVCNFSM6AAAAABNGHNCVGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGUYDENI> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AR3VIIELDPAVHTKESIONBQLZTSNDRA5CNFSM6AAAAABNGHNCVGWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAT6XQC.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I excluded System.Numerics.Vector and System.Numerics. Tensors from my project, and removed it from my packages.config. Now I get a new error, which I think should be more helpful.
Exception Message: Could not load file or assembly 'SixLabors.ImageSharp, Version=3.1.5.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Inner Exception: System.IO.FileLoadException: Could not load file or assembly 'SixLabors.ImageSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'SixLabors.ImageSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13' === Pre-bind state information === LOG: DisplayName = SixLabors.ImageSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13 (Fully-specified) LOG: Appbase = file:///C:/inetpub/wwwroot/ruachcountry/ruachcountry.org/ LOG: Initial PrivatePath = C:\inetpub\wwwroot\ruachcountry\ruachcountry.org\bin Calling assembly : IronPdf, Version=2024.8.0.3, Culture=neutral, PublicKeyToken=94e1c31412563c75. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\inetpub\wwwroot\ruachcountry\ruachcountry.org\web.config LOG: Using host configuration file: C:\Users\TEMP\Documents\IISExpress\config\aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. LOG: Redirect found in application configuration file: 2.0.0.0 redirected to 3.1.5.0. LOG: Post-policy reference: SixLabors.ImageSharp, Version=3.1.5.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13 LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/vs/dbab070e/67a60888/SixLabors.ImageSharp.DLL. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/vs/dbab070e/67a60888/SixLabors.ImageSharp/SixLabors.ImageSharp.DLL. LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/ruachcountry/ruachcountry.org/bin/SixLabors.ImageSharp.DLL. WRN: Comparing the assembly name resulted in the mismatch: Minor Version ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
Stack Trace: at IronPdf.Engines.Pdfium.PdfiumInjectionModule.Load() at Ninject.Modules.<7c7b93c9-89be-491a-8a98-63abf8fc010d>NinjectModule.OnLoad(<7c7b93c9-89be-491a-8a98-63abf8fc010d>IKernel kernel) at Ninject.<7c7b93c9-89be-491a-8a98-63abf8fc010d>KernelBase.Load(IEnumerable`1 m) at Ninject.<7c7b93c9-89be-491a-8a98-63abf8fc010d>KernelBase..ctor(<7c7b93c9-89be-491a-8a98-63abf8fc010d>IComponentContainer components, <7c7b93c9-89be-491a-8a98-63abf8fc010d>INinjectSettings settings, <7c7b93c9-89be-491a-8a98-63abf8fc010d>INinjectModule[] modules) at Ninject.<7c7b93c9-89be-491a-8a98-63abf8fc010d>KernelBase..ctor(<7c7b93c9-89be-491a-8a98-63abf8fc010d>INinjectModule[] modules) at Ninject.<7c7b93c9-89be-491a-8a98-63abf8fc010d>StandardKernel..ctor(<7c7b93c9-89be-491a-8a98-63abf8fc010d>INinjectModule[] modules) at IronPdf.Engines.NinjectKernelFactory.<>c.<.cctor>b__7_3() at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at IronPdf.Engines.NinjectKernelFactory.get_Kernel() at IronPdf.PdfClientAccessor..ctor() at IronPdf.PdfDocument..ctor(String PdfFilePath, String Password, String OwnerPassword, ChangeTrackingModes TrackChanges) at IronPdf.PdfDocument.FromFile(String PdfFilePath, String Password, String OwnerPassword, ChangeTrackingModes TrackChanges) at ASP.formwrapper_aspx.Page_Load() in c:\inetpub\wwwroot\ruachcountry\ruachcountry.org\FormWrapper.aspx:line 51
Source: IronPdf
B. Paluch
<tel:718-704-0606> 718 704-0606 Ext. 101
<http://www.brooklynwebcenter.com/> brooklynwebcenter.com
Manage your business online! Give your customers access to their accounts 24/7!
We specialize in custom business solutions for the web - ask for our excellent references!
From: James Jackson-South ***@***.***>
Sent: Tuesday, August 27, 2024 11:44 AM
To: SixLabors/ImageSharp ***@***.***>
Cc: bwcpaluch ***@***.***>; Author ***@***.***>
Subject: Re: [SixLabors/ImageSharp] ImageSharp references System.Numerics.Vectors, version 6.0 (Discussion #2800)
What I mean is you don’t need to install that package. The namespace is already part of the .NET 6 runtime. That package was released out of bounds to provide support for working with vectors on .NET Framework and .NET Standard.
—
Reply to this email directly, <#2800 (reply in thread)> view it on GitHub, or <https://github.com/notifications/unsubscribe-auth/AR3VIIDGWBJ3XH7NBBP67GTZTSNDRAVCNFSM6AAAAABNGHNCVGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGUYDENI> unsubscribe.
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AR3VIIELDPAVHTKESIONBQLZTSNDRA5CNFSM6AAAAABNGHNCVGWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAT6XQC.gif> Message ID: < ***@***.***> ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
These are my runtime assembly redirects (the ones that could possibly affect this)
The SixLabors.ImageSharp. Is the public key correct?
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="SixLabors.ImageSharp" publicKeyToken="d998eea7b14cab13" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="3.1.5.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="IronSoftware.Shared" publicKeyToken="212d70e9efeae4c7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2024.1.0.7" newVersion="2024.1.0.7" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="IronSoftware.Drawing.Common" publicKeyToken="8d7e55c97b3e9835" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2024.2.0.2" newVersion="2024.8.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
B. Paluch
<tel:718-704-0606> 718 704-0606 Ext. 101
<http://www.brooklynwebcenter.com/> brooklynwebcenter.com
Manage your business online! Give your customers access to their accounts 24/7!
We specialize in custom business solutions for the web - ask for our excellent references!
From: Tieson Trowbridge ***@***.***>
Sent: Tuesday, August 27, 2024 3:01 PM
To: SixLabors/ImageSharp ***@***.***>
Cc: bwcpaluch ***@***.***>; Author ***@***.***>
Subject: Re: [SixLabors/ImageSharp] ImageSharp references System.Numerics.Vectors, version 6.0 (Discussion #2800)
You most likely have a binding redirect in one or more *.config files (web.config, for example, since this seems like a .NET Framework project) that needs to be removed or updated.
—
Reply to this email directly, <#2800 (reply in thread)> view it on GitHub, or <https://github.com/notifications/unsubscribe-auth/AR3VIICYL5SY3ZWNKIVWNHLZTTEFBAVCNFSM6AAAAABNGHNCVGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGY3TKOA> unsubscribe.
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AR3VIICC7GL5QHRRFU2XQJDZTTEFBA5CNFSM6AAAAABNGHNCVGWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAT624M.gif> Message ID: < ***@***.***> ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Error
Assembly 'SixLabors.ImageSharp, Version=3.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13' uses 'System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
I don't see that System.Numerics.Vectors has a version 6.0.
I'm using SixLabors.ImageSharp.3.1.5 and System.Numerics.Vectors.4.5.0
Beta Was this translation helpful? Give feedback.
All reactions