Commit c1ea4d4
committed
task: add conditional compilation for GUID generation
Introduce conditional compilation in Base.cs to handle GUID generation based on the target framework version. For .NET 9.0 or greater, use `System.Guid.CreateVersion7()`. For earlier versions, continue using `System.Guid.NewGuid()`. This ensures compatibility with new features in .NET 9.0 while maintaining support for older versions.1 parent 9155c94 commit c1ea4d4
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments