At work we're still using TFS 2015. The current version of .NET Framework on the build server is .NET 4.5.2. Six months ago, I tried to install .NET 4.7.2 onto the build server, but that wouldn't work. It complained, saying that I had .NET Framework 4.8 on the server. Either I'd have to forget it and uninstall 4.8 to get 4.7.2 installed on it. (Then I presume install 4.8 again, after putting on 4.7.2.) Other circumstances changed, so I didn't have to follow that any further at that time.
However, that has changed today. Some developers are finally moving away from .NET 4.5.2, to go to 4.7.2. And they need me to install 4.7.2 onto the build server. So, how do uninstall .NET 4.8 from the build server so I can get .NET 4.7.2 installed on our TFS 2015 build server? Then later put .NET 4.8 back onto the build server?