Dynamics 365 Plugin Registration Input string Was Not in a Correct Format Error

Leave a comment

In this post, we will look at when happens when you get the error “An unexpected error occurred. —> System.FormatException: Input string was not in a correct format.”.

You may have created a plugin using Visual Studio, and signed and compiled it. You then import it into the Plugin Registration Tool and you get this error (you can copy it into Notepad if you can’t see it in this UI):

The problem here is in the Application properties of the project, we see the project is using a .NET Framework version higher than 4.6.2:

If we change this to 4.6.2 we can now deploy the assembly as expected.

 

THANKS FOR READING. BEFORE YOU LEAVE, I NEED YOUR HELP.
 

I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.

IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.

THANK YOU, AND LET'S KEEP LEARNING TOGETHER.

CARL

https://www.youtube.com/carldesouza

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

Your email address will not be published. Required fields are marked *