Please make sure to open up “Windows/Preferred Types Editor” and do a “Build AOTClasses.cs and link.xml file”. This will auto-generate all classes that are needed and is actualy quite relevant as a solution to what unity suggests.
Also, relevant to you other post, please do not use the “Script Control” tasks under the “Standalone” category if you are targeting iOS, WebGL or xBox.