Merge pull request #2744 from akoeplinger/convert-fixes
[mono.git] / mono / tests / assembly-load-remap.cs
1 using System;
2 using System.IO;
3 using System.Reflection;
4
5 public class Tests
6 {
7         public static void Main (string[] args)
8         {
9                 if (args.Length != 1)
10                         throw new Exception ("Missing commandline args.");
11
12                 string versionLoad = args [0];
13                 var asm = Assembly.Load ("Microsoft.Build.Framework, Version=" + versionLoad + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
14
15                 if (asm == null)
16                         throw new Exception ("Assembly couldn't be loaded.");
17         }
18 }