web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

CSU System.Numerics.Vectors Could not be loaded for version

(0) ShareShare
ReportReport
Posted on by

Hi

I have a task that required me to use a non commerce NuGet packages in my CommerceRuntime project (Microsoft.Maui.Graphics.Skia & Microsoft.Maui.Graphics). While I did not expect any problems with this I ran into an issue that said System.Numerics.Vectors with version 4.1. could not be loaded. The dll is included in the nuget package and therfore also present in the Ext folder. I did verify that the version of the dll was the same as the one found under the Bin folder in the RetailServer folder. 

After some googeling I found this: c# - Could not load file or assembly System.Numeric.Vectors in ML.NET - Stack Overflow

My issue was not with the build. I did as comments suggested and manually add the following xml into the already long list of dependent assemblies in the web.config file

<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.3.0" newVersion="4.1.4.0" />

After this I did not get any errors with dll could not be loaded because it was not found.

So now my question comes. How would I be able to deploy this to a CSU. Would MS support be able to do it? can I add it somewhere so that it is picked up by the installation to the CSU much like how the webconfig already is modified to load extension dlls?

I'm currently using the CommerceSDK (Independent packaging model) and not RetailSDK(Legacy).

The CommerceRuntime package is targeting netstandard2.0. Version is 10.0.24 (9.34)

I have the same question (0)
  • Suggested answer
    Ramune Profile Picture
    on at

    Hi Tim,

    If you will not get any help there, please create a support case for us to be able to investigate the issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 307 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 123 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 67 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans