В VS2008 и VS2010 установлены PInvoke.Net

NoSuchKey

рекомендация

отwww.cnblogs.com/chinatrump/p/11490950.html