I’ve written before about how you have to make sure to include asset files into the project file if you want Azure to deploy them during a git deployment.
Thats pretty annoying, especially if you’re using external build tools to copy
assets into the css
, images
or assets
folders – You have to remember to
right click and Include in Project.
Wouldn’t it be nice if Visual Studio and (therefore) msbuild just recursively included and deployed a folder of files?
You have to hand edit the .csproj
file, but all you need to do is use a
wildcard in the Include statement:
1 |
|
Go forth and deploy in confidence.