blob: 8e42dab5a058ed1da041c31afe0461cac7bfc2aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff -Naur nant-0.85_a/src/NAnt.Core/Task.cs nant-0.85_b/src/NAnt.Core/Task.cs
--- nant-0.85_a/src/NAnt.Core/Task.cs 2005-10-21 19:13:06.000000000 +0200
+++ nant-0.85_b/src/NAnt.Core/Task.cs 2008-04-20 18:27:02.000000000 +0200
@@ -400,7 +400,9 @@
#region Protected Instance Methods
/// <summary><note>Deprecated (to be deleted).</note></summary>
+#if !MONO
[Obsolete("Deprecated- Use InitializeTask instead")]
+#endif
protected override void InitializeElement(XmlNode elementNode) {
// Just defer for now so that everything just works
InitializeTask(elementNode);
diff -Naur nant-0.85_a/src/NAnt.DotNet/Tasks/ScriptTask.cs nant-0.85_b/src/NAnt.DotNet/Tasks/ScriptTask.cs
--- nant-0.85_a/src/NAnt.DotNet/Tasks/ScriptTask.cs 2006-09-13 18:31:26.000000000 +0200
+++ nant-0.85_b/src/NAnt.DotNet/Tasks/ScriptTask.cs 2008-04-20 18:25:39.000000000 +0200
@@ -516,7 +516,7 @@
#region Private Static Methods
private static CodeDomProvider CreateCodeDomProvider(string typeName, string assemblyName) {
- Assembly providerAssembly = Assembly.LoadWithPartialName(assemblyName);
+ Assembly providerAssembly = Assembly.Load(assemblyName);
if (providerAssembly == null) {
throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
ResourceUtils.GetString("NA2037"), assemblyName));
|