Make a visual studio to expand the contents of the folder without the need to update it in the project

In my web project, I often have several files in the app_data folder. These files may change from time to time (for example, translation files get a new language, the lucene index is updated and gets a new file name, etc.).

Visual Studio only adds files to the deployment process if the files are separately added to the project. Therefore, if the file was added to disk, but not to the project, this file will not be copied to the server ...

Is there a way to get VS to add all the files in a folder to the deployment process without having to manually update it?

+3
source share
1 answer

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


All Articles