Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

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

  • DynamicsHulk365 Profile Picture
    21 on at
    Re: Dynamics 365 Plugin Issue : Plugin registration tool with .Net Framework version 4.8/4.7.2

    @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

     

     

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: Dynamics 365 Plugin Issue : Plugin registration tool with .Net Framework version 4.8/4.7.2

    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.

  • RajYRaman Profile Picture
    270 on at
    Re: Dynamics 365 Plugin Issue : Plugin registration tool with .Net Framework version 4.8/4.7.2

    @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

     

  • Verified answer
    a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: Dynamics 365 Plugin Issue : Plugin registration tool with .Net Framework version 4.8/4.7.2

    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.

  • DynamicsHulk365 Profile Picture
    21 on at
    Re: Dynamics 365 Plugin Issue : Plugin registration tool with .Net Framework version 4.8/4.7.2

    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?

  • a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: Dynamics 365 Plugin Issue : Plugin registration tool with .Net Framework version 4.8/4.7.2

    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?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 57 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard