The shooting happened at 10:17 a.m. in the 700 block of El Pintado Road.
When police arrived, they found the victim suffering from a single gunshot wound to his upper torso. He was conscious and breathing when he was transported to John Muir Medical Center in Walnut Creek and is expected to survive, Lee said.
Investigators believe that the victim knew the shooter and that the shooting was not a random act, Lee said.
Danville police, with help from San Ramon police, the California Highway Patrol and the Contra Costa County Sheriff's office, conducted an extensive search of the area around the shooting, but did not find the gunman.
The victim described the shooter as a black man in his mid 20s. He is about 6 feet tall, weighs about 175 pounds and is clean-shaven with very short hair. He was wearing a dark colored long sleeved shirt and dark jeans.
Investigators are asking anyone with information about the case to call the Danville Police Department at (925) 314-3700.