diff --git a/source/Octodiff.Tests/Octodiff.Tests.csproj b/source/Octodiff.Tests/Octodiff.Tests.csproj index ca9a73b..37d299a 100644 --- a/source/Octodiff.Tests/Octodiff.Tests.csproj +++ b/source/Octodiff.Tests/Octodiff.Tests.csproj @@ -8,7 +8,7 @@ - net10.0;net462 + net10.0;net472 net10.0 @@ -24,11 +24,11 @@ - + Exe - + diff --git a/source/Octodiff.Tests/Util/CommandLineFixture.cs b/source/Octodiff.Tests/Util/CommandLineFixture.cs index 0cfdd5d..27f85d4 100644 --- a/source/Octodiff.Tests/Util/CommandLineFixture.cs +++ b/source/Octodiff.Tests/Util/CommandLineFixture.cs @@ -21,7 +21,7 @@ public void Run(string args) var stdOutBuilder = new StringBuilder(); var outputBuilder = new StringBuilder(); var path = GetExePath(); -#if !NET462 +#if !NET472 args = $"{path} {args}"; path = "dotnet"; #endif @@ -49,7 +49,7 @@ public void Run(string args) string GetExePath() { -#if NET462 +#if NET472 return new Uri(typeof(DeltaBuilder).Assembly.CodeBase).LocalPath; #else return Path.Combine(Path.GetDirectoryName(new Uri(typeof(CommandLineFixture).GetTypeInfo().Assembly.CodeBase).LocalPath), "Octodiff.Tests.dll"); @@ -58,7 +58,7 @@ string GetExePath() string GetCurrentDirectory() { -#if NET462 +#if NET472 return Environment.CurrentDirectory; #else return System.IO.Directory.GetCurrentDirectory(); diff --git a/source/Octodiff/Octodiff.csproj b/source/Octodiff/Octodiff.csproj index 64e65fa..c62c47b 100644 --- a/source/Octodiff/Octodiff.csproj +++ b/source/Octodiff/Octodiff.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net462 + netstandard2.0;net472 true Octodiff Octopus.Octodiff @@ -22,7 +22,7 @@ - + Exe anycpu