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
Thanks
-Sri
@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.
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 - Technically speaking newer versions should work, as long as you don't use newer C# features. But MSFT recommendation is to use 462.
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.
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?
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?
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
57
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1