From 28859599085cdf1a0bb06ef53ceaabf74fe27d19 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Thu, 30 Jan 2014 23:41:30 +0100 Subject: [PATCH] fix #314: `throw new NotImplementedException();` in GlobalAssemblyCacheService.IsGacAssembly --- src/Main/SharpDevelop/Parser/GlobalAssemblyCacheService.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Main/SharpDevelop/Parser/GlobalAssemblyCacheService.cs b/src/Main/SharpDevelop/Parser/GlobalAssemblyCacheService.cs index af0c2dd596..b442a79735 100644 --- a/src/Main/SharpDevelop/Parser/GlobalAssemblyCacheService.cs +++ b/src/Main/SharpDevelop/Parser/GlobalAssemblyCacheService.cs @@ -28,7 +28,11 @@ namespace ICSharpCode.SharpDevelop.Parser { public bool IsGacAssembly(string fileName) { - throw new NotImplementedException(); + if (FileUtility.IsBaseDirectory(Fusion.GetGacPath(false), fileName)) + return true; + if (FileUtility.IsBaseDirectory(Fusion.GetGacPath(true), fileName)) + return true; + return false; } public IEnumerable Assemblies {