In a LightSwitch application, what files and folders should I ignore and not keep in source control?
(I'm using Git, and I'm wondering what to put in the .gitignore file.)
From my article on this very question (includes some extra's for DevExpress and so on):
*.lsproj.user
ServiceConfiguration.cscfg
*/_Pvt_Extensions/*
*/GeneratedArtifacts/*
*.csproj.user
*.vbproj.user
*/[Oo]bj/*
*/[Bb]in/*
*.suo
*DXCore.Solution
[Tt]humbs.db
*.user
*.bak.*
*.bak
*.[Cc]ache
*/[Pp]ublish/*
*.vssscc
*.vs10x
*/[Dd]otfuscated/*
[Dd]otfuscated/*
*.vsp
[Nn][Dd]epend[Oo]ut/*
*.licx
*.docstates
*.cscfg
*.csdef
I believe this is a comprehensive list of what isn't needed in source control.
_Pvt_Extensions\
bin\Debug
bin\Release
Client\bin
Client\obj
ClientGenerated\bin
ClientGenerated\obj
Common\bin
Common\obj
Server\bin
Server\obj
ServerGenerated\bin
ServerGenerated\obj
Not sure about git ignore syntax but in Mercurial my .hgignore contains:
*/[Oo]bj/*
*/[Bb]in/*
*.suo
*.lsproj.user
*/_Pvt_Extensions/*
*/GeneratedArtifacts/*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With