Search code examples
.netvb.netvisual-studiopublish

How to publish vb.net project with other folder


In my project I want to include my folder Print when publishing my project.

My folder that I want to add

When I publish my project it gives me a folder named Application Files then inside of it the folder which content is my exe file.

Published Project

How can I add my folder Print when I publish my project in Visual studio 2019. Also I'm using vb.net


Solution

  • The folder to add must appear in your project : simply copy/paste folder to project, and change each file property "copy to output directory" to "copy everyTime".

    After that Folder and files will be added to publishing directory.

    enter image description here

    enter image description here

    sorry my VS is in french ...