затратить ... лет на
• The several years that went into (or were spent on) the project ...
Русско-английский научно-технический словарь• The several years that went into (or were spent on) the project ...
Русско-английский научно-технический словарь