I have encountered error while upgrading one of my custom solution using power-shell. The error was “Cant rectract solution timer job “name of the timer job” cannot be deserialized because it doesnot have a public default constructor”.
To resolve this issue steps are as follows:
1.Find out DLL name of timer job that causing error.(Open timer job solution =>right click =>open folder in window explorer =>Bin=>Debug)
2.Go to gac( “c:\Windows\assembly” can be varies) locate your dll and uninstalll it.
3. do iisreset
Note:You should have admin privileges to uninstall dll from GAC.