Copy always to output directory does not work

后端 未结 9 622
-上瘾入骨i
-上瘾入骨i 2020-12-30 18:49

I\'ve got a simple console project where I\'m reading two Excel-files. The Excel-files are included in the project (\"add existing item\") and I\'ve marked them with \"Copy

9条回答
  •  攒了一身酷
    2020-12-30 19:19

    In the file properties in Visual Studio, set:

    Build action: None

    Copy to output directory: Copy always

提交回复
热议问题