diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 71c9a14..485f96f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,7 +22,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 8.0.200 + dotnet-version: 10.0.100 - name: Build MethodCheck run: dotnet build src --configuration ${{ matrix.configuration }} - name: Run Tests diff --git a/Directory.Build.props b/Directory.Build.props index f9843dc..d58291d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -14,8 +14,9 @@ CS1591 - Missing XML comment. --> 618,1030,1701,1702 1591 - 12.0 + 14.0 enable + true AllEnabledByDefault true diff --git a/global.json b/global.json index d031a76..b24aad6 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.200", + "version": "10.0.100", "rollForward": "latestPatch" } } diff --git a/src/MethodCheck.Core/MethodCheck.Core.csproj b/src/MethodCheck.Core/MethodCheck.Core.csproj index 1a08309..c89b161 100644 --- a/src/MethodCheck.Core/MethodCheck.Core.csproj +++ b/src/MethodCheck.Core/MethodCheck.Core.csproj @@ -2,14 +2,10 @@ Library - net8.0 + net10.0 - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/MethodCheck.Test/MethodCheck.Test.csproj b/src/MethodCheck.Test/MethodCheck.Test.csproj index 19037db..e585195 100644 --- a/src/MethodCheck.Test/MethodCheck.Test.csproj +++ b/src/MethodCheck.Test/MethodCheck.Test.csproj @@ -2,21 +2,17 @@ Library - net8.0 + net10.0 - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/MethodCheck.sln b/src/MethodCheck.sln index b238221..91fdb7d 100644 --- a/src/MethodCheck.sln +++ b/src/MethodCheck.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 16.0.27130.2036 +# Visual Studio Version 18 +VisualStudioVersion = 18.2.11415.280 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MethodCheck", "MethodCheck\MethodCheck.csproj", "{FDA76E88-8EE7-4C75-8213-7C41C32840EF}" EndProject @@ -9,6 +9,15 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MethodCheck.Test", "MethodC EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MethodCheck.Core", "MethodCheck.Core\MethodCheck.Core.csproj", "{14A18414-199A-4062-B210-F25289E5D228}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution", "Solution", "{29841CC3-D949-4863-8634-2F8006722B15}" + ProjectSection(SolutionItems) = preProject + ..\.editorconfig = ..\.editorconfig + ..\.github\workflows\build.yaml = ..\.github\workflows\build.yaml + ..\Directory.Build.props = ..\Directory.Build.props + ..\global.json = ..\global.json + ..\stylecop.json = ..\stylecop.json + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/src/MethodCheck/.editorconfig b/src/MethodCheck/.editorconfig new file mode 100644 index 0000000..4825d61 --- /dev/null +++ b/src/MethodCheck/.editorconfig @@ -0,0 +1,4 @@ +# C# files +[*.cs] +# CA1515 only causes problems in WPF assemblies. +dotnet_diagnostic.CA1515.severity = none diff --git a/src/MethodCheck/MethodCheck.csproj b/src/MethodCheck/MethodCheck.csproj index 2f50e71..2278b56 100644 --- a/src/MethodCheck/MethodCheck.csproj +++ b/src/MethodCheck/MethodCheck.csproj @@ -2,15 +2,11 @@ WinExe - net8.0-windows + net10.0-windows true - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - all runtime; build; native; contentfiles; analyzers; buildtransitive