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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

.Net development and X++ development

(0) ShareShare
ReportReport
Posted on by 285

I'm trying to get a connection to Azure Service Bus to work from X++.

I actually do have it working, but I'm getting these warnings in VS: (cut down for brevity)

 

Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="System.Threading.Tasks.Extensions" culture="neutral" publicKeyToken="cc7b13ffcd2ddd51" /><bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" /></dependentAssembly></assemblyBinding>

 

This is what I did:

  • New D365 F&O project
  • Updated the project file to set the .net version to 4.7.2
  • Add a .Net Framework Class Library project to the solution. Target framework 4.7.2
  • Add the following Nuget packages:
    • Azure.Core (1.20.0)
    • Azure.Identity (1.5.0)
    • Azure.Messaging.ServiceBus (7.12.0)

 

The code works, but it gives the above warning and I;m worried that this might cause problems down the road or during runtime on a tier2/production environment.

 

It says to update the app.config with those mappings, but there is no app.config for an X++ project, not does it let you add one.

 

Any ideas?

I have the same question (1)
  • Suggested answer
    huijij Profile Picture
    19,813 on at

    Hi Rob,

    Please check the common fixes about the error during a build when more than one version of the same dependent assembly referenced in a build of the same project:

    learn.microsoft.com/.../msb3277

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 802

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 636 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 534

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans