How can I have an entire folder be an embedded resource in a Visual Studio project?

前端 未结 1 1674
天命终不由人
天命终不由人 2021-02-19 01:23

I\'m working on a project which we\'ll call Container. Container has a bunch of EmbeddedResources. The original files for these EmbeddedResources are another project which we\

1条回答
  •  滥情空心
    2021-02-19 01:52

    Edit the project file for Container in a text editor and find the elements that link to the files in FileProject:

    
      Copy.bmp
    
    
      Paste.bmp
    
    

    Delete all of these elements and replace them with a single element that has a suitable wildcard:

    
    

    Now if you add Cut.bmp to FileProject, it will also show up in Container.

    0 讨论(0)
提交回复
热议问题