Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Plugins using .net 6.0

(0) ShareShare
ReportReport
Posted on by
Is there a way to use a .net version newer that 4.6.2. 
 
I would like to use 6.0 but thee seems to be references in the SDK to older .et dll's.
 
I have the latest SDK but it gives the same error.
 
Error    BC30652    Reference required to assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the type 'ClientCredentials'. Add one to your project.
 
Am I correct in this.
 
 
Brian
  • Suggested answer
    RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    Plugins using .net 6.0
    Hi,
     
    As you have described, this is a compatibility issue between the new version and the old dotNet version, you can check the documentation at the link below to troubleshoot NET Framework errors.
    Troubleshoot .NET Framework targeting errors - Visual Studio | Microsoft Learn
     
    In addition, other official documentation also mentions that if you want to do Dynamics 365 plugin development, you still need to use dotNet 4.6.2 to create a Dynamics 365 plugin project.

    The link to the documentation is as follows.
    Write a plug-in (Microsoft Dataverse) - Power Apps | Microsoft Learn
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang
     
     

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,784 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans