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

Commit

Permalink
Merge branch 'fixTests'
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Oct 8, 2016
2 parents 53e9323 + 0824b08 commit 2f59f6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/GitLink.Tests/ProjectHelperFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@
// --------------------------------------------------------------------------------------------------------------------
namespace GitLink.Tests
{
using System.IO;
using System.Linq;
using System.Reflection;
using NUnit.Framework;

[TestFixture]
public class ProjectHelperFacts
{
private const string SolutionFile = @"TestSolution\TestSolution.sln";
private static readonly string SolutionFile = Path.Combine(
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
@"TestSolution\TestSolution.sln");

[Test]
public void GettingProjectsFromSolution()
Expand Down
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 2f59f6f

Please sign in to comment.