Visual Studio 2010 - why can't create an empty folder?

I am trying to create an empty folder in the application folder. I created a folder in the installation project, but when I install, the folder is not created. I guess its empty. Is there any way to create it /

+4
source share
4 answers

The Visual Studio installation project will not allow you to create an empty folder. Instead of a visual studio, you can try creating a customization project using WIX . Its free and more scalable compared to the Visual Studio installation project.

-2
source

Right-click on the folder, select the properties window, set the AlwaysCreate property to true. this is. There is no need to create a file with the settings of any other s / w. Visual Studio is a Microsoft product.

+10
source

You need to set the AlwaysCreate property of the folder to true.

+3
source

My workaround was to create a (empty) text file in the folder. This is not nice, but it works. I am grateful for any tips to find the best solution.

+1
source

Source: https://habr.com/ru/post/1390038/


All Articles