Visual Studio adds .dll and .pdb to project after compiling

后端 未结 2 985
情歌与酒
情歌与酒 2021-01-27 18:13

In my Visual Studio 2008 web vbproj, I have included only certain files in the bin folder. I am using browserhawk and it needs to have some browser definition files (maindefs.b

2条回答
  •  滥情空心
    2021-01-27 18:48

    Use a Post Build Event to copy the files. Be sure the browser hawk files build action is set to "do not copy". Then goto your project properties, select the "Build Events" tab and add the following to the Post-build event command line:

    copy "$(ProjectDir)\common\browserhawk*.*" "$(TargetDir)"

    Be sure to include the quotes if your project path has spaces in it.

提交回复
热议问题