locked
Error In Compile Sample RRS feed

  • Question

  • hi friends

    my sample extension wrote by Visual studio 2010 , now I open this with 2012 but I Cant Compile this,vs say to me i can not find reference , but all reference added on my project, and after test on vs 2010 this work with out any problem.

    I download this sample from code.msdn

    thanks

    Thursday, July 11, 2013 5:56 AM

Answers

  • Hi A-Check
    First Go To 'Project' Menu And Click On '[Your Project Name] Properties' and change 'Target Frame Work' To 4.5
    Now Try To Compile

    good luck 


    * Dear Heart , Please fall in Love,When You Ready,Not When You Lonely *

    • Proposed as answer by Ali.Alikhani Thursday, July 11, 2013 6:06 AM
    • Marked as answer by A-Check Thursday, July 11, 2013 6:08 AM
    Thursday, July 11, 2013 5:59 AM
  • your welcome

    find "source.extension.vsixmanifest" On solution explorer and

    find below section 

    <SupportedProducts>
          <VisualStudio Version="10.0">
             <Edition>Ultimate</Edition>
          </VisualStudio>
    </SupportedProducts>
    For Vs 2012 Change 'Visual Studio Version' To 11.0


    * Dear Heart , Please fall in Love,When You Ready,Not When You Lonely *

    • Proposed as answer by Ali.Alikhani Thursday, July 11, 2013 6:06 AM
    • Marked as answer by A-Check Thursday, July 11, 2013 6:08 AM
    Thursday, July 11, 2013 6:06 AM

All replies

  • Hi A-Check
    First Go To 'Project' Menu And Click On '[Your Project Name] Properties' and change 'Target Frame Work' To 4.5
    Now Try To Compile

    good luck 


    * Dear Heart , Please fall in Love,When You Ready,Not When You Lonely *

    • Proposed as answer by Ali.Alikhani Thursday, July 11, 2013 6:06 AM
    • Marked as answer by A-Check Thursday, July 11, 2013 6:08 AM
    Thursday, July 11, 2013 5:59 AM
  • hi ali 

    thanks

    it work

    but now after compile this say to you cant install this,how change this version

    Thursday, July 11, 2013 6:02 AM
  • your welcome

    find "source.extension.vsixmanifest" On solution explorer and

    find below section 

    <SupportedProducts>
          <VisualStudio Version="10.0">
             <Edition>Ultimate</Edition>
          </VisualStudio>
    </SupportedProducts>
    For Vs 2012 Change 'Visual Studio Version' To 11.0


    * Dear Heart , Please fall in Love,When You Ready,Not When You Lonely *

    • Proposed as answer by Ali.Alikhani Thursday, July 11, 2013 6:06 AM
    • Marked as answer by A-Check Thursday, July 11, 2013 6:08 AM
    Thursday, July 11, 2013 6:06 AM
  • thanks , good Experience for me :]
    Thursday, July 11, 2013 6:10 AM
  • Your Welome

    * Dear Heart , Please fall in Love,When You Ready,Not When You Lonely *

    Thursday, July 11, 2013 6:57 AM