Skip to content

Commit 5971625

Browse files
authored
[build] main *conceptually* targets .NET 7 (#978)
Fixes: #962 Context: 3851b1a Context: #936 Context: #975 We have several PRs which impact public API, and we want to land as part of .NET 7, and *not* as part of .NET 6, e.g. #936. Update `GitInfo.txt` to `7.0`, and update `$(_NetCoreLibVersion)` to be `$(GitBaseVersionMajor).$(GitBaseVersionMinor).0.0` -- reverting commit 3851b1a -- as an indicator that from this point onward, all work on `main` is targeting .NET 7. Note that CI continues to use .NET 6. This is thus a more "conceptual" change rather than a "everything requires .NET 7 now" change.
1 parent 61cdb40 commit 5971625

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GitInfo.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.0
1+
7.0

build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
<PropertyGroup>
114114
<_NetToolVersion>$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch).$(GitCommits)</_NetToolVersion>
115115
<_OldToolVersion>0.2.$(GitBaseVersionPatch).$(GitCommits)</_OldToolVersion>
116-
<_NetCoreLibVersion>0.1.0.0</_NetCoreLibVersion>
116+
<_NetCoreLibVersion>$(GitBaseVersionMajor).$(GitBaseVersionMinor).0.0</_NetCoreLibVersion>
117117
<_OldCoreLibVersion>0.1.0.0</_OldCoreLibVersion>
118118
<_FileVersion>$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch).$(GitCommits)</_FileVersion>
119119
</PropertyGroup>

0 commit comments

Comments
 (0)