This is driving me beyond borderline.
I have a 3rd party module with a class that uses a reference to an assembly. When I try to compile the class, I get an error on one of the lines saying that 'the method has not been declared'. Below is the condensed code. Error occurs on the last line.
public server static void UploadToSharepoint(BT_DPA_PackageShowPDFSettings settings)
{
UploadFileToSharepoint.UploadFile updsf;
interopPerm = new InteropPermission(InteropKind::ClrInterop);
interopPerm.assert();
uploadOk = false;
try
{
updsf = new UploadFileToSharepoint.UploadFile();
uploadOk = updsf.DoUploadUsingEXE(tempXMLFile, pdfFile);
if(!uploadOk)
{
error(updsf.get_LastError());
stackTrace = updsf.get_StackTrace();
The exact same code compiles just fine on the DEV system.
- I verified that the references exist in both AOT's and that they reference the same version of the assembly.
- I verified that the assembly in question exists in the GAC of both systems and that it has the same version.
- I verified with fuslog that the correct assembly (from GAC) is loaded.
- I rebooted the AOT (3 times to be sure and once for good luck).
- Purged the xpill folder
- Purged my local cache
- Said my prayers.
What am I missing here?
*This post is locked for comments
I have the same question (0)