Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Just wanted to draw your attention to a known issue that has been fixed by an update that can be downloaded via the CU5. Link to CU5 can be found here. On that site, the following is added:
AL Development for Dynamics 365 Business Central
For information about how to develop extensions for Dynamics 365 Business Central see AL Development for Dynamics 365 Business Central
For download of the corrected ModernDev AL VSIX extension see the download link
So what broke and what has been resolved with the immediate update to CU5? AL Extension VSIX throw System.IO.FileLoadException related to Newtonsoft.Json dependency in Visual Studio Code. Repro:
1. Deploy VSIX from NAV 2018 CU 5 in VS Code
2. Create a simple HelloWorld sample from scratch (AL:GO!)
--> ERROR is displayed in VS CodeUnhandled Exception: System.AggregateException: One or more errors occurred. —> System.IO.FileLoadException: Could not load file or assembly ‘Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) —> System.IO.FileLoadException: Could not load file or assembly ‘Newtonsoft.Json, Version=126.96.36.199, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)— End of inner exception stack trace —
You can download the correction via the blog posting or edit a file yourself.
1. Edit this file
2. Changed binding from 10 to 9
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="188.8.131.52" />
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-184.108.40.206" newVersion="220.127.116.11" />
<assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-18.104.22.16801" newVersion="22.214.171.12401" />
Thank you for reading. Please validate the answer so that others can benefit.
Answer in posting.
Business Applications communities