×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Dec 2012
    Posts
    66

    Ambiguity among references while building MusicExplorer project

    Hi,

    I downloaded source for MusicExplorer_v1_0 and added the dependencies for NewtonSoft.Json, Nokia.Music.wp8 and Microsoft.Phone.Controls.Toolkit using Package Manager Console. Now when i build the project i get below error
    The type 'Microsoft.Phone.Controls.LongListSelector' exists in both 'c:\Users\Vinay\Documents\Visual Studio 2012\Projects\MusicExplorer_v1_0\packages\SilverlightToolkitWP.4.2012.6.25\lib\sl3-wp\Microsoft.Phone.Controls.Toolkit.dll' and 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhone\v8.0\Microsoft.Phone.dll'
    Project needs both the "Microsoft.Phone.Controls.Toolkit" and "Windows.Phone" references. How can i resolve the ambiguity and let compiler choose one of the available references.

    Regards,
    Vinay

  2. #2
    Nokia Developer Champion
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    297

    Re: Ambiguity among references while building MusicExplorer project

    Hello,

    Update the SilverlightToolkit package to a newer version, the name LongListSelector exist in the two references and the naming in the lastest version has been solved.
    You can download it here http://phone.codeplex.com/releases/view/96743

    Hope it helps,
    Yassine

  3. #3
    Regular Contributor
    Join Date
    Mar 2013
    Posts
    65

    Re: Ambiguity among references while building MusicExplorer project

    Thanks Yassine! Just ran into this very problem and your solution worked perfectly.

    -- roschler

  4. #4
    Registered User
    Join Date
    Mar 2013
    Location
    Goa, India
    Posts
    32

    Re: Ambiguity among references while building MusicExplorer project

    Quote Originally Posted by Loukt View Post
    Update the SilverlightToolkit package to a newer version, the name LongListSelector exist in the two references and the naming in the lastest version has been solved.
    You can download it here http://phone.codeplex.com/releases/view/96743
    I had this problem too. And now it works. Thanks Yassine.

    Regards

  5. #5
    Regular Contributor
    Join Date
    Dec 2012
    Posts
    66

    Re: Ambiguity among references while building MusicExplorer project

    I had tried googling it but never found this new toolkit.
    Anyways thanks Yassine. It worked.

    Regards,
    Vinay

Similar Threads

  1. problem in building the project
    By nishantanindya in forum Symbian Tools & SDKs
    Replies: 11
    Last Post: 2012-04-18, 08:29
  2. Problem building project
    By mouse_321 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2010-06-11, 07:14
  3. Project Building Errors
    By xahid2k in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2009-08-20, 23:21
  4. Project Building Process
    By prayagnarula in forum Open C/C++
    Replies: 1
    Last Post: 2007-07-04, 04:19
  5. warning in building project
    By wlaifa in forum Symbian
    Replies: 2
    Last Post: 2007-04-18, 12:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×