
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)
Hi Tim,
If you will not get any help there, please create a support case for us to be able to investigate the issue.