Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
Does ProvideRelatedFile work for solution items?

ロック済み Does ProvideRelatedFile work for solution items?

  • 28 Januari 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

     

Semua Balasan

  • 28 Januari 2009 10:41
     
     Jawab
    My apologies. Posted in wrong forum.