Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Plugin Assembly returning error when compiled with VS 2015: "Method not found: '!!0[] System.Array.Empty()'"

$
0
0

Hi all, I have a bizarre issue regarding plugin Assembly compilation. I have raised a case with Microsoft but I thought I'd ask here also in case anybody else has experienced this issue.

I have a plugin assembly which I have developed in VS 2012 Professional. The assembly has no issues and all plugins run correctly.

I now wish to upgrade to VS 2015 Community edition, however when I compile *exactly* the same project with *no* changes whatsoever, and upload it to CRM Online, I get the error "System.MissingMethodException: Method not found: '!!0[] System.Array.Empty()'" whenever a plugin runs.

I have tried removing the old assembly - completely unregistering it - and re-registering the new assembly - but no joy. I can overwrite the assembly generated with VS 2015 with the assembly generated by VS 2012 as a simple update, and everything works fine. Updating to the VS 2015 assembly and everything errors out.

This seems pretty crazy! Has anybody here experienced anything similar?

AHA, Ben


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>