X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftools%2Fxbuild%2FMain.cs;h=8c246124da17708e12ae971ef3e010476f104a92;hb=5317fbc0cd0146c84ffab2dc1776ec34cce859c0;hp=5dc9b50b2fdb2034e1992704e201ff10f095318c;hpb=2852ed0b59e7b8834441f235346d22b7d7e3ec34;p=mono.git diff --git a/mcs/tools/xbuild/Main.cs b/mcs/tools/xbuild/Main.cs index 5dc9b50b2fd..8c246124da1 100644 --- a/mcs/tools/xbuild/Main.cs +++ b/mcs/tools/xbuild/Main.cs @@ -29,7 +29,6 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#if NET_2_0 using System; using System.Collections; @@ -51,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 (); @@ -322,4 +323,3 @@ namespace Mono.XBuild.CommandLine { } -#endif