locked
How to set Embed Interop Types default to false ? RRS feed

  • Question

  • Hi,

    I saw some threads asking for the same question but I wasn't able to post on them.  Now I was very disapointed and not really satisfied with the fact that we can't set this property to false by default.  Imagine that we do a lot of new development and each time we really have to go on all the COM references added to projects in order to set the property to false.  A pain really.

    Any Registry hack, or any way we can modify a certain file or if not, we are a lot to beg for an option in the settings to let us choose the default of this property.


    • Edited by GearWorld Wednesday, April 3, 2013 2:39 PM
    Wednesday, April 3, 2013 2:38 PM

Answers

All replies

  • I haven't figured out how to do this - but I will say, it's not too bad.  You can select ALL of the references (in the solution explorer) and set the property at once for multiple references, so it's a "one shot" deal - but it is annoying to have to remember to do this each time.

    Reed Copsey, Jr. - http://reedcopsey.com
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    Wednesday, April 3, 2013 3:52 PM
  • Hello,

    Thank you for your post.

    I think that Reed’s suggestion is a feasible workaround. You can try it.

    Also if you think the feature is important, you could submit this feature request:

    http://visualstudio.uservoice.com/forums/121579-visual-studio

    The Visual Studio product team is listening to user voice there. You can send your ideas/suggestions there and people can vote.

    Thanks for your understanding.

    Best regards,


    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Amanda Zhu Monday, April 15, 2013 12:45 AM
    Thursday, April 4, 2013 9:07 AM
  • I haven't figured out how to do this - but I will say, it's not too bad.  You can select ALL of the references (in the solution explorer) and set the property at once for multiple references, so it's a "one shot" deal - but it is annoying to have to remember to do this each time.

    Reed Copsey, Jr. - http://reedcopsey.com
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    Hi,

    The problem isn't for multiple references but multiple new projects which each time we have to do this job and it's more than annoying.  So in a sense your idea is good but not enough.

    Sunday, April 7, 2013 6:49 PM
  • Hello,

    Thank you for your post.

    I think that Reed’s suggestion is a feasible workaround. You can try it.

    Also if you think the feature is important, you could submit this feature request:

    http://visualstudio.uservoice.com/forums/121579-visual-studio

    The Visual Studio product team is listening to user voice there. You can send your ideas/suggestions there and people can vote.

    Thanks for your understanding.

    Best regards,


    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3823898-give-an-option-to-have-embeded-interop-types-to-fa

    So go vote for it !

    • Marked as answer by Amanda Zhu Monday, April 15, 2013 12:45 AM
    Sunday, April 7, 2013 6:52 PM
  • Hello,

    If your new projects are using the same references most of the time you can create a new project, add those references and set any setting as you desire, then create a template so that when starting a new project use the project template.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

    Sunday, April 7, 2013 10:47 PM