diff --git a/.editorconfig b/.editorconfig index 46650ec..e6ca3fb 100644 --- a/.editorconfig +++ b/.editorconfig @@ -67,6 +67,7 @@ dotnet_style_predefined_type_for_member_access = true:suggestion csharp_style_var_for_built_in_types = true:suggestion #prefer var when the type is already mentioned on the right-hand side of a declaration expression csharp_style_var_when_type_is_apparent = true:suggestion +csharp_style_var_elsewhere = true:suggestion #Style - language keyword and framework type options diff --git a/LogicMonitor.Api.Test/LogicMonitor.Api.Test.csproj b/LogicMonitor.Api.Test/LogicMonitor.Api.Test.csproj index 6f9601b..8e87b2d 100644 --- a/LogicMonitor.Api.Test/LogicMonitor.Api.Test.csproj +++ b/LogicMonitor.Api.Test/LogicMonitor.Api.Test.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 latest false enable @@ -17,16 +17,16 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - + + + + + + + + + + diff --git a/LogicMonitor.Api/LogicMonitor.Api.csproj b/LogicMonitor.Api/LogicMonitor.Api.csproj index f525d58..64de24d 100644 --- a/LogicMonitor.Api/LogicMonitor.Api.csproj +++ b/LogicMonitor.Api/LogicMonitor.Api.csproj @@ -46,7 +46,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/global.json b/global.json index 4dcacb2..3e07ae0 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.100", + "version": "9.0.100", "rollForward": "latestFeature" } } \ No newline at end of file