Skip to content

Commit

Permalink
Ensure that project guids do not change
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence authored and daveaglick committed Oct 29, 2020
1 parent c8d8f10 commit e7582eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Buildalyzer/ProjectAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ internal ProjectAnalyzer(AnalyzerManager manager, string projectFilePath, Projec

// Get (or create) a project GUID
ProjectGuid = projectInSolution == null
? GuidUtility.Create(GuidUtility.UrlNamespace, ProjectFile.Path.Substring(SolutionDirectory.Length))
? GuidUtility.Create(GuidUtility.UrlNamespace, ProjectFile.Path.Substring(SolutionDirectory.Length - 1))
: Guid.Parse(projectInSolution.ProjectGuid);

// Set the solution directory global property
Expand Down

0 comments on commit e7582eb

Please sign in to comment.