Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2022
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
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-184.108.40.206" newVersion="220.127.116.11" />
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)
If you will not get any help there, please create a support case for us to be able to investigate the issue.
Business Applications communities