Asp.net 4.0 has not been registered October 18, 2022 by Tarik I also fixed this issue by running aspnet_regiis -i using the visual studio command line tools as an administrator