1 | --- src/NAnt.DotNet/Tasks/ScriptTask.cs.orig 2008-04-26 23:06:17.000000000 -0400 |
---|
2 | +++ src/NAnt.DotNet/Tasks/ScriptTask.cs 2008-04-26 23:07:28.000000000 -0400 |
---|
3 | @@ -516,7 +516,7 @@ |
---|
4 | #region Private Static Methods |
---|
5 | |
---|
6 | private static CodeDomProvider CreateCodeDomProvider(string typeName, string assemblyName) { |
---|
7 | - Assembly providerAssembly = Assembly.LoadWithPartialName(assemblyName); |
---|
8 | + Assembly providerAssembly = Assembly.Load(assemblyName); |
---|
9 | if (providerAssembly == null) { |
---|
10 | throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, |
---|
11 | ResourceUtils.GetString("NA2037"), assemblyName)); |
---|