Jaa


Bing Maps SDK release - Fixing "Bad Plugin Definition" error.

There is a problem with the Bing Maps map app test tool and the latest SDK we launched for Tech Ed. The URL in the documentation is <www.bing.com/maps/explore/?developer=1> and that should work. However, some people are getting an exception. The fix is to add a &preview=1 to the URL while we work on a fix.

<www.bing.com/maps/explore/?developer=1&preview=1>

 

Here is the error you might see:

---------------------------
Plug-in load failed
---------------------------
Error Microsoft.Maps.Shell.PluginAnalysisException: Bad Plugin Definition: Unable to find any singleton exports of contract 'Microsoft/MapContract'

   at fa.c(ImportDescription A_0)

   at fa.a(ImportDescription A_0)

   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()

   at System.Linq.Enumerable.<DistinctIterator>d__81`1.MoveNext()

   at fa.c(PluginDescription A_0)

   at fa.c(Type A_0)

   at fa.a(Type A_0)

   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()

   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)

   at fa.a(Assembly A_0)

   at fa.a(String& A_0)
---------------------------
OK  
---------------------------

Comments

  • Anonymous
    July 21, 2011
    Bad Plug-in Definition: Sequence contains more than one element; map renders but "Hello World" is not displayed