Source code files (*.cs, *.vb, *.boo, etc) should be non-executable.
*.dll files (libraries) should be non-executable.
*.mdb files (debug symbols) should be non-executable.
*.exe files (applications) must have the executable flag (+x) set to be compatibile with binfmt (direct invokation like ./foo.exe).
To insure that the file permissions are right, you should call the following at the end of your install target in debian/rules:
find debian/ -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" | xargs chmod -x find debian/ -type f -name "*.exe" | xargs chmod +x
Debian CLI Policy (DRAFT)
Version 0.2.0meebey@meebey.net
brandon@smarterits.com