Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Cloud-hosted dev box n...
Finance forum
Answered

Cloud-hosted dev box no longer shows D365 extension in Visual Studio: how to reinstall please?

Posted on by 215
Anyone ever seen a Tier 1 dev box without the Finance and Operations (Dynamics 365) extension installed? This box has been in use for about six months, and I'm sure it was fine as recently as last week.  I suspect it's due to a Visual Studio update being installed, since I have another box without the latest VS 2019 update, and the extension is working fine there.



It doesn't appear to be listed in the Online tree (having checked the name on the other box that's still OK), and the Roaming Extension Manager shows it as not locally installed, with the Download button disabled:

I found this blog post, and see the details below (extract of install log) when reinstalling from the 10.0.37 service update.

11/6/2023 2:54:36 PM - Microsoft VSIX Installer
11/6/2023 2:54:36 PM - -------------------------------------------
11/6/2023 2:54:36 PM - vsixinstaller.exe version:
11/6/2023 2:54:36 PM - 17.5.4074+g1de9468fa7
11/6/2023 2:54:37 PM - Extension Details...
11/6/2023 2:54:37 PM -     Identifier         : DynamicsFnO.DeveloperTools
11/6/2023 2:54:37 PM -     Version            : 7.0.7068.67
11/6/2023 2:54:37 PM -     Description        : /A collection of tools for Visual Studio that are used to develop applications on Finance and Operations (Dynamics 365) for Platform Update61.
11/6/2023 2:54:37 PM -     SupportedFrameworkVersionRange : [4.5,)
11/6/2023 2:54:48 PM -     Supported Products : 
11/6/2023 2:54:48 PM -         Microsoft.VisualStudio.Community
11/6/2023 2:54:48 PM -             Version : [17.0,18.0)
11/6/2023 2:54:48 PM -             ProductArchitecture : amd64
11/6/2023 2:54:48 PM - Found installed product - Visual Studio Professional 2019
11/6/2023 2:54:48 PM - Found installed product - Global Location
11/6/2023 2:54:48 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products

Versions highlighted are, I believe, VS 2022 & above, so I've installed VS2022 professional, then ran the extension VSIX, and that appeared OK, but when I open VS2022 now, I get the message below
---------------------------
The 'VSCommonPackage' package did not load correctly.

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C://Users//Admin857115e2a3//AppData//Roaming//Microsoft//VisualStudio//17.0_12f12d82//ActivityLog.xml'.

Restarting Visual Studio could help resolve this issue.
---------------------------

Restarting, and/or clearing cache  - as described on this StackOverflow thread - doesn't help.  Any suggestions please?
  • Rich Profile Picture
    Rich 215 on at
    Cloud-hosted dev box no longer shows D365 extension in Visual Studio: how to reinstall please?
    For anyone who finds this thread looking to use the extension in VS2022, I'm told there are a few options you need to include in the VS2022 install, namely the Visual studio extension development workload, because it has the Modeling SDK available:

    Having installed VS2022 with those options, the service update can be downloaded from LCS, unzipped, and then two elements are needed from the DevToolsService\Scripts folder:
    1. The 17.0 VSIX installs the extension
    2. The two 17.0 Targets files must be copied to C:\Program Files (x86)\MSBuild\Microsoft\Dynamics\AX:

    Given one of the VS2002 upgrade benefits is that it's now 64-bit, it feels unfortunate that there isn't a matching 64-bit MSBuild, but maybe in time...
  • Rich Profile Picture
    Rich 215 on at
    Cloud-hosted dev box no longer shows D365 extension in Visual Studio: how to reinstall please?
    Amused to note that the same day I posted the update, VS2022 support was announced. Having installed VS2022 Professional & re-run the VSIX, I've got the extension visible in VS2022, but it gives the 'VSCommonPackage' package did not load correctly. message when I try to use it. The activity log records Could not load file or assembly 'Microsoft.VisualStudio.Modeling.Sdk.Shell: FusLogVw gives me a list of directories under the VS/2022/Professional/Common7/IDE where it looks, and there's an old discussion suggesting it was incorrectly absent in 2017, but that's not super helpful. Might have to provision a new dev VM & see whether it's installed there.
  • Rich Profile Picture
    Rich 215 on at
    Cloud-hosted dev box no longer shows D365 extension in Visual Studio: how to reinstall please?
    Thanks Andre. The installer log having "Version : [17.0" in the "Supported Products" section left me thinking it should be fine with VS2022, but having tried the installer.vsix without the number 17 in (somewhat annoyed I didn't register that possibility earlier!), I'm now back working on VS2019 as you suggest.
     
    It isn't clear to me from the MS docs that VS2022 isn't supported, but I (now) appreciate you've said this on the forums before, so thanks for your patience & reiteration.
  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,349 Super User 2024 Season 2 on at
    Cloud-hosted dev box no longer shows D365 extension in Visual Studio: how to reinstall please?
    Hi Rich,
     
    Can you try using Visual Studio 2019? I believe the VM you are using had this version initially installed. VS2022 is not yet supported with the Dynamics 365 add-in for Visual Studio.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,349 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,212 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans