I’m using Azure and need files to be copied from my project to Azure’s approot directory.
For this I go to file–>properties–>build action and set
Build Action: Content
Copy to Output Directory: Copy Always
It works great for files but now I need to upload several directories.
Is it possible to upload an entire directory to Azure’s approot?
I’m using .Net 4.5, Visual Studio 2012.
Yes. But as far as I know, you have to edit your
.csprojmanually to do it. Use a*or**to recurse, like so:I usually add a single file manually and then just change the generated line in my
.csproj.