Unanswered Issue with VSIX project

  • Wednesday, August 29, 2012 8:12 AM
     
     
    I am trying to create a VSIX package for my Metro control dll.  It is working if I create a separate VSIX project outside my Visual Studio solution. But when I am adding a new VSIX project into my existing solution, it is throwing an error "An Item with the same key has already been added" while opening vsixmanifest file. My solution is already containing a Metro class library project and an application project. Can anybody assist?

All Replies

  • Friday, August 31, 2012 3:01 AM
    Moderator
     
     

    Hi JordanSmith,

    I can't reproduce your issue.

    You said:


     But when I am adding a new VSIX project into my existing solution, it is throwing an error

    When did error message occur, after creating a VSIX project or adding your dlls into vsixmanifest?

    Best regards,


    Ego [MSFT]
    MSDN Community Support | Feedback to us

  • Friday, August 31, 2012 3:51 AM
     
     
    Error message is appearing when I am opening vsixmanifest file. It works well when I create the VSIX project outside my solution. But when I am adding the project into my existing solution which already has Silverlight, WPF and Metro projects it is throwing an error while opening vsixmanifest file.
  • Friday, August 31, 2012 4:05 AM
     
     
    I found the cause of this error. Actually I have a solution containing two different solutions. Each solution is having projects for Silverlight, WPF and Metro. Each project has shared files in each solution. Now when I am adding a VSIX project in the solution it is throwing the error. But when I remove one solution from my parent solution, then it works well. Can anybody please tell me why this is happening?
  • Monday, September 03, 2012 1:20 PM
     
     

    I think these two projects shared the same assembly which be add twice in vsix project. So it will report the error like:An Item with the same key has already been added.

    Just create one vsix project each solution.