Does ProvideRelatedFile work for solution items?

נעול Does ProvideRelatedFile work for solution items?

  • 28 ianuarie 2009 10:40
     
     

    I'm trying to add nested files in the solution explorer at the solution item level. I have the following attribute on my package class:

    [ProvideRelatedFile(".bom", ".diagramx",
    ProjectSystem =
    "{D1DCDB85-C5E8-11d2-BFCA-00C04F990235}",
    FileOptions =
    RelatedFileType.FileName)]

    As I understand it, that should allow "diagramx" files to be nested under "bom" files when they're created as solution items. While this works fine for VB and C# projects (ProjectSystem = {F184B08F-C81C-45F6-A57F-5ABD9991F28F} and {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} respectively), it isn't working for solution item projects.

    Should it? Am I missing something?

    Thanks for any help you can give.

    -- Michael

     

Toate mesajele

  • 28 ianuarie 2009 10:41
     
     Răspuns
    My apologies. Posted in wrong forum.