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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Visual Studio Tools issue in AX7 May Update Demo Azure Environment

(0) ShareShare
ReportReport
Posted on by

I have a few AX7 Azure environments that I deployed back in June with the Demo (May 2016 Update) topology, and they are working fine. Note, this is not the newer ARM enabled topology.

I have recently tried to deploy a few more (same topology), but the Dynamics AX Visual Studio Tools extension doesn't get configured correctly anymore. AX seems to run fine, but Visual Studio is not able to interact with it. Visual Studio does not display any objects in the Application Explorer, etc.

When starting Visual Studio, I get an error stating:

Discovery of best practices extensions failed with error 'Given directory 'C:\AOSService\Packages\Bin\BPExtensions' does not exist. It must exist when discovering extensions from a single directory'. Best practices checks may not function correctly.

That directory indeed does not exist, but it doesn't exist in my good environments either. In all of these environments, the model store is located in 'J:\AosService\PackagesLocalDirectory', not on the C: drive.

Does anyone know where the setting is located that tells the Dynamics AX Visual Studio Tools extension where to look for the model store folder? I suspect that if I could fix that setting, the extension may start working correctly.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,874 Most Valuable Professional on at

    I sometimes get this message, but it disappears if I run the build again, so I haven't investigated it.

    If you don't see anything in the Application Explorer, make sure you've started VS "as administrator".

  • Community Member Profile Picture
    on at

    Feeling kind of dumb now, but that was it. I usually set VS to always run as admin, and forgot this time.

    I hadn't seen that error before, so it totally threw me off.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans