Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
Fix NullReferenceException in 4 tests
Browse files Browse the repository at this point in the history
This shows up when Microsoft.Build doesn't happen to be loaded (by other tests?) by the time these four tests have run.
  • Loading branch information
AArnott committed Oct 8, 2016
1 parent 3c2f649 commit 0824b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitLink/Helpers/ProjectHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static class ProjectHelper

static ProjectHelper()
{
SolutionParserType = TypeCache.GetType("Microsoft.Build.Construction.SolutionParser");
SolutionParserType = TypeCache.GetType("Microsoft.Build.Construction.SolutionParser, Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");

var solutionProjectTypeType = TypeCache.GetType("Microsoft.Build.Construction.SolutionProjectType");
if (solutionProjectTypeType != null)
Expand Down

0 comments on commit 0824b08

Please sign in to comment.