Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions csharp/Platform.Disposables.Tests/DisposableTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private static ProcessStartInfo CreateProcessStartInfo(string logPath, bool wait
return new ProcessStartInfo
{
FileName = "dotnet",
Arguments = $"run -p \"{projectPath}\" -f net7 \"{logPath}\" {waitForCancellation.ToString()}",
Arguments = $"run -p \"{projectPath}\" -f net8 \"{logPath}\" {waitForCancellation.ToString()}",
UseShellExecute = false,
CreateNoWindow = true
};
Expand All @@ -67,11 +67,7 @@ private static string GetDisposalObjectTestProjectFilePath()
}
}
pathParts = newPathParts.ToArray();
#if NET472
var directory = string.Join(Path.DirectorySeparatorChar.ToString(), pathParts.ToArray());
#else
var directory = Path.Combine(pathParts);
#endif
var path = Path.Combine(directory, $"{disposalOrderTestProjectName}.csproj");
if (!Path.IsPathRooted(path))
{
Expand Down
Loading