Jenkins : Is there any possibility to build two Jenkins jobs with two different version of .Netframework 4?


I have been trying to build two different jobs within Jenkins, the first job requires .Net Framework 4.0 and other is based on v4.6.1. If I install v4.6.1 is upgrades to existing version and failed to build the first job which requires v4.0, I am pointing to MSBUILD.EXE file. Though this issue could be resolved if I setup a Slave machine but I was wondering if there is any another way Jenkins suggest? 

Thank you,