Method for manufacturing a main body of a valve housing for a hydraulic control valve, wherein the main body is formed from cast aluminium, wherein a plurality of valve pockets for conducting a hydraulic fluid is formed in the main body from a coupling side, wherein the valve pockets are formed during the casting of the main body, wherein the valve pockets are delimited and/or separated from one another by web sections , wherein a valve-piston space for a valve piston is formed in the main body , wherein the valve-piston space is pre-formed during the casting, wherein the valve-piston space is in the form of a blind bore, wherein the valve-piston space defines a longitudinal axis (L), wherein the valve-piston space passes through at least one web section , so that a web-exit opening is formed, wherein the web-exit opening opens out into one of the valve pockets , wherein the valve pocket is subsequently referred to as machining valve pocket , wherein the web-exit opening is peripherally delimited by a control edge , wherein the control edge is formed by a piston-guiding section and an end-face section , wherein, in a raw main body for the main body , the end-face section of the control edge is made by a separating process in an end-face-machining step, wherein, during the separating process, the separating tool is guided from the coupling side to the end-face section of the control edge through the machining valve pocket , and wherein the separating process is configured to be a milling process, wherein the milling tool is guided from the coupling side to the end-face section of the control edge through the machining valve pocket . wherein the main body is formed from cast aluminium, wherein a plurality of valve pockets for conducting a hydraulic fluid is formed in the main body from a coupling side, wherein the valve pockets are formed during the casting of the main body, wherein the valve pockets are delimited and/or separated from one another by web sections , wherein a valve-piston space for a valve piston is formed in the main body , wherein the valve-piston space is pre-formed during the casting, wherein the valve-piston space is in the form of a blind bore, wherein the valve-piston space defines a longitudinal axis (L), wherein the valve-piston space passes through at least one web section , so that a web-exit opening is formed, wherein the web-exit opening opens out into one of the valve pockets , wherein the valve pocket is subsequently referred to as machining valve pocket , wherein the web-exit opening is peripherally delimited by a control edge , wherein the control edge is formed by a piston-guiding section and an end-face section , wherein, in a raw main body for the main body , the end-face section of the control edge is made by a separating process in an end-face-machining step, wherein, during the separating process, the separating tool is guided from the coupling side to the end-face section of the control edge through the machining valve pocket , and wherein the separating process is configured to be a milling process, wherein the milling tool is guided from the coupling side to the end-face section of the control edge through the machining valve pocket . <EOS>