The advent of high-harmonic generation in gases 30 years ago set the foundation for attosecond science and facilitated ultrafast spectroscopy in atoms, molecules, and solids. We explore high-harmonic generation in the solid state by means of nanostructured and ion-implanted semiconductors. We use wavelength-selective microscopic imaging to map enhanced harmonic emission and show that the generation medium and the driving field can be locally tailored in solids by modifying the chemical composition and morphology. This enables the control of high-harmonic technology within precisely engineered solid targets. We demonstrate customized high-harmonic wave fields with wavelengths down to 225 nanometers (ninth-harmonic order of 2-micrometer laser pulses) and present an integrated Fresnel zone plate target in silicon, which leads to diffraction-limited self-focusing of the generated harmonics down to 1-micrometer spot sizes.