roslyn\%(RecursiveDir)%(Filename)%(Extension) bin\roslyn\%(RecursiveDir)%(Filename)%(Extension) IncludeRoslynCompilerFilesToFilesForPackagingFromProject Run $(WebProjectOutputDir)\bin\roslyn $(OutputPath)\roslyn ().FirstOrDefault(); if(mo != null) { var path = (string)mo["ExecutablePath"]; var executablePath = path != null ? path : string.Empty; Log.LogMessage("ExecutablePath is {0}", executablePath); if(executablePath.StartsWith(ImagePath, StringComparison.OrdinalIgnoreCase)) { p.Kill(); p.WaitForExit(); Log.LogMessage("{0} is killed", executablePath); break; } } } } } } catch (Exception ex) { Log.LogWarning(ex.Message); } return true; ]]>