Skip to content

Commit

Permalink
Use AppDomain instead as the other is unreliable
Browse files Browse the repository at this point in the history
  • Loading branch information
saniff committed Aug 14, 2012
1 parent 88701be commit e3d2a5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AppHarbor.Test/Util.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
using System.IO;
using System;
using System.IO;

namespace AppHarbor.Test
{
public static class Util
{
public static string GetCurrentBasePath()
{
return Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
return AppDomain.CurrentDomain.BaseDirectory;
}

public static string GetDataPath()
Expand Down

0 comments on commit e3d2a5c

Please sign in to comment.