Browse Source

fix #314: `throw new NotImplementedException();` in GlobalAssemblyCacheService.IsGacAssembly

pull/326/merge
Siegfried Pammer 12 years ago
parent
commit
2885959908
  1. 6
      src/Main/SharpDevelop/Parser/GlobalAssemblyCacheService.cs

6
src/Main/SharpDevelop/Parser/GlobalAssemblyCacheService.cs

@ -28,7 +28,11 @@ namespace ICSharpCode.SharpDevelop.Parser @@ -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<DomAssemblyName> Assemblies {

Loading…
Cancel
Save