diff --git a/build/Build.cs b/build/Build.cs index 7131260..a1e6060 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -57,7 +57,7 @@ class Build : NukeBuild [GitRepository] readonly GitRepository GitRepository; - [GitVersion(Framework = "net6.0", UpdateBuildNumber = true)] + [GitVersion(Framework = "net8.0", UpdateBuildNumber = true)] readonly GitVersion GitVersion; [CI] diff --git a/build/_build.csproj b/build/_build.csproj index 7e006bd..09e0397 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 CS0649;CS0169 .. .. @@ -10,7 +10,7 @@ - + diff --git a/build/_build.csproj.DotSettings b/build/_build.csproj.DotSettings index 7bc2848..337271d 100644 --- a/build/_build.csproj.DotSettings +++ b/build/_build.csproj.DotSettings @@ -16,6 +16,8 @@ False <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /> <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /> + <Policy><Descriptor Staticness="Instance" AccessRightKinds="Private" Description="Instance fields (private)"><ElementKinds><Kind Name="FIELD" /><Kind Name="READONLY_FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></Policy> + <Policy><Descriptor Staticness="Static" AccessRightKinds="Private" Description="Static fields (private)"><ElementKinds><Kind Name="FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></Policy> True True True @@ -24,4 +26,5 @@ True True True - True + True + True diff --git a/src/tool/Tool.csproj b/src/tool/Tool.csproj index 03589d4..cb54cca 100644 --- a/src/tool/Tool.csproj +++ b/src/tool/Tool.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 true antlr4-tool ./nupkg