Ok think I found the fix for the compilation issue (due to .NET update) see https://devnet.kentico.com/articles/kentico-9-and-the-windows-10-april-2018-update
Why did the upgrade remove the files it needed? I assume safe to copy across from the 8.2 backup, and then see what happens in the 9.0 to 10.0 upgrade.
Thanks