diff --git a/Prebuild/src/Core/Targets/NAntTarget.cs b/Prebuild/src/Core/Targets/NAntTarget.cs index d3385e15ab..009185059a 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; } diff --git a/bin/Prebuild.exe b/bin/Prebuild.exe index 632b9dcbc0..d7934c9a57 100755 Binary files a/bin/Prebuild.exe and b/bin/Prebuild.exe differ