For VFR in class D there is nothing that says you need a transponder (I believe).
It depends on the airspace involved. Some of the higher parts of Class D do require a transponder, in specified TMAs and Class D Airways for example.
Generally airfield Control Zones will probably not require it but check the AIP first.