Skip to content

Commit

Permalink
Merge branch 'net6-updates' into net8-build
Browse files Browse the repository at this point in the history
# Conflicts:
#	RELEASE_NOTES.md
#	build.fsx
  • Loading branch information
Thorium committed Sep 22, 2024
2 parents 3bead06 + d85ebb3 commit 8206f8d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
## 6.1.2 - 2024-09-03
* Added .NET8.0 to package target libraries
* Some dependency updates
* Runtime-identifier update to more recent runtimes.
* Removed .NETFrameworkAssembly attribute fix on detecting .NET assemblies.

## 6.1.1 - 2024-08-30
* BUGFIX: Assembly resolver to pick a found SDK instead of first SDK, thanks @Thorium - https://github.com/fsprojects/FAKE/pull/2797/files
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
printfn "Hello FAKE"
printfn "Hello FAKE"
System.Threading.Thread.Sleep 500
7 changes: 6 additions & 1 deletion src/app/Fake.Core.Process/Process.fs
Original file line number Diff line number Diff line change
Expand Up @@ -457,14 +457,19 @@ module Process =
try
proc.StartTime
with
| :? PlatformNotSupportedException
| :? NotSupportedException
| :? InvalidOperationException
| :? System.ComponentModel.Win32Exception as e ->
let hasExited =
try
proc.HasExited
with
| :? InvalidOperationException
| :? System.ComponentModel.Win32Exception -> false
| :? NotSupportedException
| :? System.ComponentModel.Win32Exception as e2 ->
Trace.traceFAKE "Error while retrieving HasExited of process: %O" e2
false

if not hasExited then
Trace.traceFAKE "Error while retrieving StartTime of started process: %O" e
Expand Down

0 comments on commit 8206f8d

Please sign in to comment.