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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dynamics 365 Plugin Is...
Power Apps
Unanswered

Dynamics 365 Plugin Issue : Plugin registration tool with .Net Framework version 4.8/4.7.2

(0) ShareShare
ReportReport
Posted on by 21

Hello Experts,

 

I'm trying to register a plug-in that I've built with the Plugin Registration tool, but I get the following error: 

 

This plugin assembly targets version 4.8 of .NET Framework that is not supported. Rebuild this assembly using .NET Framework version 4.7.1 and try again.

 

But the only versions I can choose from are 4.7.2 and 4.8. I tried to rebuild with 4.7.2, but I get the same error. 

How can I fix this without installing the .Net Framework 4.7.1 or 4.6.2 as we cannot install the Framework in our machines? 

Microsoft Visual Studio Professional 2022

 

DynamicsHulk365_0-1696512987630.png

 

Thanks

-Sri

I have the same question (0)
  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    You have no other way to solve the issue but to install the mentioned version of the framework. The question that I have is why can't you install the mentioned framework. Privileges for the machine?

  • DynamicsHulk365 Profile Picture
    21 on at

    Yes, there are privileges for the machine to install. Why PRT is not supporting with latest version of Net Framework (4.8) to register the plugin?

  • Verified answer
    a33ik Profile Picture
    3,306 Most Valuable Professional on at

    So just install the earlier version of the framework. The issue you experience is not related to PRT. It's related to the runtime used by the Dataverse's backend. Why - that's the question to ask Microsoft but it is what it is. You won't be able to register the plugin without building the plugin's assembly using the proper version of the .Net Framework.

  • RajYRaman Profile Picture
    270 on at

    @DynamicsHulk365 - Technically speaking newer versions should work, as long as you don't use newer C# features. But MSFT recommendation is to use 462.

    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/write-plug-in#use-net-framework-462

    rajyraman_0-1696573613560.png

    rajyraman_1-1696573781163.png

     

  • cchannon Profile Picture
    4,702 Moderator on at

    Aaaaahh Microsoft. "...should generally work..." are not words that belong in technical documentation. 🙄

     

    While @rajyraman is technically correct the only real-world answer is the one from @a33ik. Find someone with adequate privs and install 4.6.2: While it is the oldest supported .NET language, its expansive adoption in all things BizApps is a guarantee of LTS. 4.7.1 will likely hit EOL before 4.6.2.

  • DynamicsHulk365 Profile Picture
    21 on at

    @rajyraman Thanks for your response.

    Below is the issue I am facing while registering the assembly, I am not using any new C# features as it is an empty Execute method, the same issue with version 4.8.

    DynamicsHulk365_0-1696601604459.png

     

    DynamicsHulk365_2-1696602010702.png

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard