Merge pull request #2646 from ludovic-henry/fix-processwatch-dispose
[mono.git] / mcs / tools / xbuild / Main.cs
index 70a0b7375766f046dd295b047366de8a8c530c0a..8c246124da17708e12ae971ef3e010476f104a92 100644 (file)
@@ -50,8 +50,10 @@ namespace Mono.XBuild.CommandLine {
                Engine          engine;
                Project         project;
                ConsoleReportPrinter printer;
-
                
+               // this does nothing but adds strong reference to Microsoft.Build.Tasks*.dll that we need to load consistently.
+               Microsoft.Build.Tasks.Copy dummy;
+
                public static void Main (string[] args)
                {
                        MainClass mc = new MainClass ();