3

My MVC 4 app is deployed to Azure. The Azure project includes a csx folder. Is there anything in that folder that doesn't get automatically recreated when I publish to Azure? In other words, is there anything in that folder that qualifies as "source code" that I should add to my version control system?

SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173
Bob.at.Indigo.Health
  • 11,023
  • 13
  • 64
  • 111

2 Answers2

6

The csx folder can be excluded from source control. Note that if you pull a .gitingore file from gitignore.io it will exclude this automatically.

http://gitignore.io/api/visualstudio

Dennis Burton
  • 3,282
  • 3
  • 23
  • 30
0

You can exclude the Azure Build Output csx folder by using the below .tfignore in your Azure project or solution if you are using TFS 2012+.

You can also generate a.tfignore file from Visual Studio using Team Explorer Pending Changes view Excluded Changes->Detected->Right-Click File->Ignore Options. Then you can manually edit it as needed.

enter image description here

.tfignore (File Contents - save using Notepad to your solution/project directory)

################################################################################

# Windows Azure Build Output
csx
*.build.csdef
Community
  • 1
  • 1
SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173