Copying Visual Studio project file(s) to output directory during build

后端 未结 8 1968
梦毁少年i
梦毁少年i 2020-12-03 00:29

When I build a Visual Studio project, the executable is written to the output directory specified in the projects Property Page.

I have a project that has some extra

8条回答
  •  自闭症患者
    2020-12-03 01:18

    Expanding on Synetech's answer.

    In VS2019 right click the file you want to copy in the Solution Explorer and select Properties. Then under General >> Item Type change to Copy File then hit Apply.
    You now should have UI fields in the Properties Page for Destination etc.

提交回复
热议问题