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.
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