.NET 2.0, 3.0 and 3.5 applications cannot invoke .NET 4 assemblies. Because RegPlugIn is a .NET 3.5 application, it does not have the ability to load your 4.0 plugin. And if it did, all the applications that the plugin could get loaded into (PI System Explorer, Notification Scheduler, AFImport/Export, as well as 3rd party applications), would have to be 4.0 applications as well, which they are not.
Here is a coupl links that describes the issues with .NET 4.0:
We plan to support .NET 4.0 eventually, but currently it is not available.
Thanks for your clear answer. I'm aware of the fact that previous .NET versioned assemblies cannot invoke .NET 4 assemblies. The 'fun' thing is that I can create .NET 4.0 plugins for PI processbook. I guess this works due to the COM interop architecture. I was just wondering if something like this was also possible for AF
Chris Manhardhttp://www.vistadb.net/blog/post/2009/12/03/How-Dot-Net-4-Side-by-Side-will-impact-API-writers.aspx http://msdn.microsoft.com/en-us/magazine/ee819091.aspx
thanks for those two links, they were really insightful!
Retrieving data ...