Samsung / Dexter

Dexter is a static analysis platform to find and remove defects efficiently and immediately during the coding-time.
BSD 2-Clause "Simplified" License
56 stars 33 forks source link

[dexter-vs] System.ArgumentException on opening a csproj file #155

Closed mdopark closed 7 years ago

mdopark commented 7 years ago

System.ArgumentException occurs on opening a csproj file directly not a sln file. 'solution.FullName' is empty string when a csproj file is opend directly in visual studio. Below is details of the exception

  HResult=0x80070057
  메시지=Type of path is invalid
  소스=mscorlib
  StackTrace:
   / System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   / System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   / System.IO.Path.InternalGetDirectoryName(String path)
   / System.IO.Path.GetDirectoryName(String path)
   / Dexter.Common.Config.Providers.SolutionInfoProvider.Load() 파일 D:\dexter\github\vs2017\Dexter\project\dexter-vs\Dexter\Common\Core\Config\Providers\SolutionInfoProvider.cs:줄 37
   / Dexter.Common.Config.Providers.ConfigurationProvider.LoadProjectInfo() 파일 D:\dexter\github\vs2017\Dexter\project\dexter-vs\Dexter\Common\Core\Config\Providers\ConfigurationProvider.cs:줄 55
   / Dexter.UI.Analysis.DexterAnalysisCommand.Refresh() 파일 D:\dexter\github\vs2017\Dexter\project\dexter-vs\Dexter\Core\UI\Analysis\DexterAnalysisCommand.cs:줄 177
   / Dexter.UI.Analysis.DexterSolutionAnalysisCommand.DexterAnalysisCommandSolutionEvents.OnAfterOpenProject(IVsHierarchy pHierarchy, Int32 fAdded) 파일 D:\dexter\github\vs2017\Dexter\project\dexter-vs\Dexter\Core\UI\Analysis\DexterSolutionAnalysisCommand.cs:줄 87