Question :
I would like to make a code, which when executed, would know if the solution was changed and which project has changed, but I do not know if there is a method to take as a basis. Then I would like your help.
Answer :
There is a .Net class that is used to monitor changes to the file system:
With it you can make the following code to be notified whenever a file changes:
// Criar uma instância do FileSystemWatcher e configurá-la.
var watcher = new FileSystemWatcher(
"C:MinhaSolucao", // caminho raiz da solução a ser monitorada