Skip to content

Commit

Permalink
- fix: Resharper does not use the execution directory as default path…
Browse files Browse the repository at this point in the history
… for external file loading
  • Loading branch information
wsct committed May 24, 2018
1 parent 08f6691 commit 8d9e081
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.IO;
using NUnit.Framework;
using WSCT.Helpers;
using WSCT.Helpers.Desktop;

namespace WSCT.ISO7816.StatusWord
{
Expand All @@ -12,8 +12,8 @@ public class StatusWordDictionaryUnitTest

public StatusWordDictionaryUnitTest()
{
RegisterPcl.Register();
statusWordDictionary = SerializedObject<StatusWordDictionary>.LoadFromXml(@"ISO7816/Dictionary.StatusWord.xml");
var pathToFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"ISO7816/Dictionary.StatusWord.xml");
statusWordDictionary = SerializedObject<StatusWordDictionary>.LoadFromXml(pathToFile);
}

[Test(Description = "Existing exact value")]
Expand Down
4 changes: 2 additions & 2 deletions WSCT Unit Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Vous pouvez spécifier toutes les valeurs ou vous pouvez définir par défaut les numéros de build et de révision
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.1.*")]
[assembly: AssemblyFileVersion("1.0.1.0")]
4 changes: 0 additions & 4 deletions WSCT Unit Tests/WSCT Unit Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WSCT.Helpers.Desktop\WSCT.Helpers.Desktop.csproj">
<Project>{a3eef6f2-8509-4eb2-a8b3-b31786ebb248}</Project>
<Name>WSCT.Helpers.Desktop</Name>
</ProjectReference>
<ProjectReference Include="..\WSCT.Helpers\WSCT.Helpers.csproj">
<Project>{b95b0e58-9296-4a15-aa69-10a7b6dc2267}</Project>
<Name>WSCT.Helpers</Name>
Expand Down

0 comments on commit 8d9e081

Please sign in to comment.