MSbuild Copy whole folder

前端 未结 7 754
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-03 17:43

trying to copy a whole folder, but when i do this:


7条回答
  •  盖世英雄少女心
    2021-02-03 18:18

    Specify your ItemGroup for SourceFiles explicitly.

    
        <_CopyItems Include="$(TargetDir)\*.*" />
    
    
    

    Note that _CopyItems is an item type, so it's referenced using '@' symbol rather than '$'.

提交回复
热议问题