This is an error that appeard a few years ago. I have not experienced this until the past two weeks with all my Visual Studio installations. I've tried all the solutions from past posts that I found. None worked. I suspect the error is with the DNN Templates Version 9. Can you confirm?
The "MSBuild.Community.Tasks.XmlRead" task could not be loaded from the assembly … packages\MSBuildTasks.1.5.0.235\tools\MSBuild.Community.Tasks.dll. Could not load file or assembly … packages\MSBuildTasks.1.5.0.235\tools\MSBuild.Community.Tasks.dll' or one of its dependencies. The system cannot find the file specified.