Copy to Output Directory copies folder structure but only want to copy files

后端 未结 8 1926
谎友^
谎友^ 2020-11-27 12:05

I have a VS2008 I want to copy certain files from a directory into my /bin/ folder. I have set the files (located in /common/browserhawk/) to \"Co

8条回答
  •  青春惊慌失措
    2020-11-27 12:44

    Add the following to your .csproj/.vbproj file

    
          
    
    

    Then change the Build Action of any files you want in the root folder to RootContent.

提交回复
热议问题