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

Announcements

News and Announcements icon
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
    Microsoft Employee 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 157 Super User 2026 Season 1

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 108 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 102 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans