From 90611ebf8dceb7f719095d16c68daa3d3ed7f155 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 4 Dec 2007 13:43:11 +0000 Subject: * took a stab at #54 --- Prebuild/src/Core/Targets/NAntTarget.cs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'Prebuild/src') diff --git a/Prebuild/src/Core/Targets/NAntTarget.cs b/Prebuild/src/Core/Targets/NAntTarget.cs index d3385e1..0091850 100644 --- a/Prebuild/src/Core/Targets/NAntTarget.cs +++ b/Prebuild/src/Core/Targets/NAntTarget.cs @@ -100,23 +100,7 @@ namespace Prebuild.Core.Targets return ret; } - try - { - //Assembly assem = Assembly.Load(refr.Name); - //if (assem != null) - //{ - //ret += (refr.Name + ".dll"); - //} - //else - //{ - ret += (refr.Name + GetProjectExtension(project)); - //} - } - catch (System.NullReferenceException e) - { - e.ToString(); - ret += refr.Name + GetProjectExtension(project); - } + ret += (refr.Name + ".dll"); } return ret; } -- cgit v1.1