diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index d1475f6595..617021522f 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -38,7 +38,7 @@ jobs: - name: Setup MSBuild uses: microsoft/setup-msbuild@v2 - name: Setup Nuget.exe - uses: nuget/setup-nuget@v1 + uses: nuget/setup-nuget@v2 - name: Restore nuget Packages run: dotnet restore Source/Mosa.sln - name: Build diff --git a/Source/Mosa.Tool.Explorer.Avalonia/MainWindow.axaml.cs b/Source/Mosa.Tool.Explorer.Avalonia/MainWindow.axaml.cs index 5a9b6eea16..7296055d45 100755 --- a/Source/Mosa.Tool.Explorer.Avalonia/MainWindow.axaml.cs +++ b/Source/Mosa.Tool.Explorer.Avalonia/MainWindow.axaml.cs @@ -257,7 +257,7 @@ private async void DumpAllMethodStages_OnClick(object _, RoutedEventArgs e) InstructionsStage.SelectedIndex = 0; - for (;;) + for (; ; ) { UpdateInstructionStageSelection(); @@ -275,7 +275,7 @@ private async void DumpAllMethodStages_OnClick(object _, RoutedEventArgs e) DebugStage.SelectedIndex = 0; - for (;;) + for (; ; ) { UpdateDebugResults(); @@ -414,7 +414,6 @@ private void Save2_OnClick(object _, RoutedEventArgs e) private void Last_OnClick(object _, RoutedEventArgs e) => SetTransformationStep(int.MaxValue); - private void SetBlock_OnIsCheckedChanged(object _, RoutedEventArgs e) => TransformsGrid_OnSelectionChanged(null, null); @@ -622,8 +621,8 @@ private bool ShowGraphviz() if (string.IsNullOrEmpty(Debug.Text) || !Debug.Text.StartsWith("digraph blocks")) return false; - var dot = Path.GetTempFileName(); - var img = Path.GetTempFileName(); + var dot = Path.GetRandomFileName(); + var img = Path.GetRandomFileName(); try { diff --git a/Source/Mosa.Tool.Explorer/MainForm.cs b/Source/Mosa.Tool.Explorer/MainForm.cs index 70d5a03868..80eb1fa240 100644 --- a/Source/Mosa.Tool.Explorer/MainForm.cs +++ b/Source/Mosa.Tool.Explorer/MainForm.cs @@ -1335,8 +1335,8 @@ private bool DisplayGraphviz() if (!tbDebugResult.Text.Contains("digraph blocks")) return false; - var dot = Path.GetTempFileName(); - var bmp = Path.GetTempFileName(); + var dot = Path.GetRandomFileName(); + var bmp = Path.GetRandomFileName(); try {