From ec6d19cf0a52b3bdc745c8d8b58e75acb05d3d5e Mon Sep 17 00:00:00 2001 From: Corniel Nobel Date: Sat, 9 Mar 2024 12:13:51 +0100 Subject: [PATCH] Update project files. --- .globalconfig | 13 +++-- Buildalyzer.sln | 3 ++ Directory.Build.props | 50 ++++++++++++++----- nuget.config | 7 +++ .../Buildalyzer.Logger.csproj | 14 +++++- .../Buildalyzer.Workspaces.csproj | 20 +++++++- src/Buildalyzer/Buildalyzer.csproj | 24 +++++++-- .../Buildalyzer.Tests.csproj | 16 ++++-- .../Buildalyzer.Workspaces.Tests.csproj | 17 +++++-- 9 files changed, 126 insertions(+), 38 deletions(-) create mode 100644 nuget.config diff --git a/.globalconfig b/.globalconfig index 20a06b38..b99c44e8 100644 --- a/.globalconfig +++ b/.globalconfig @@ -2,6 +2,8 @@ is_global = true dotnet_diagnostic.CA1506.severity = none dotnet_diagnostic.CA1724.severity = none +dotnet_diagnostic.CA1707.severity = none # Remove the underscores from member names. + dotnet_diagnostic.CS1591.severity = none dotnet_diagnostic.CA1020.severity = warning @@ -17,7 +19,6 @@ dotnet_diagnostic.CA1701.severity = warning dotnet_diagnostic.CA1702.severity = warning dotnet_diagnostic.CA1703.severity = warning dotnet_diagnostic.CA1704.severity = warning -dotnet_diagnostic.CA1707.severity = warning dotnet_diagnostic.CA1709.severity = warning dotnet_diagnostic.CA1710.severity = warning dotnet_diagnostic.CA1711.severity = warning @@ -37,6 +38,8 @@ dotnet_diagnostic.CA2204.severity = warning dotnet_diagnostic.RCS1002.severity = none dotnet_diagnostic.RCS1004.severity = none dotnet_diagnostic.RCS1007.severity = none +dotnet_diagnostic.RCS1008.severity = none # Use explicit type instead of 'var' +dotnet_diagnostic.RCS1009.severity = none # Use explicit type instead of 'var' dotnet_diagnostic.RCS1010.severity = none dotnet_diagnostic.RCS1012.severity = none # Use explicit type instead of 'var' (when the type is obvious) dotnet_diagnostic.RCS1013.severity = none @@ -94,9 +97,6 @@ dotnet_diagnostic.RCS1208.severity = none dotnet_diagnostic.RCS1219.severity = none dotnet_diagnostic.RCS1223.severity = none - - - dotnet_diagnostic.SA1101.severity = none dotnet_diagnostic.SA1118.severity = none dotnet_diagnostic.SA1200.severity = none @@ -285,9 +285,6 @@ dotnet_diagnostic.RCS1229.severity = suggestion dotnet_diagnostic.RCS1230.severity = suggestion dotnet_diagnostic.RCS1231.severity = suggestion - -dotnet_diagnostic.RCS1008.severity = warning -dotnet_diagnostic.RCS1009.severity = warning dotnet_diagnostic.RCS1044.severity = warning dotnet_diagnostic.RCS1059.severity = warning dotnet_diagnostic.RCS1082.severity = warning @@ -301,3 +298,5 @@ dotnet_diagnostic.RCS1210.severity = warning dotnet_diagnostic.RCS1215.severity = warning dotnet_diagnostic.SX1309.severity = warning + +dotnet_diagnostic.VSSpell001.severity = silent # Spell Check diff --git a/Buildalyzer.sln b/Buildalyzer.sln index e17b5da3..e5a3d5dc 100644 --- a/Buildalyzer.sln +++ b/Buildalyzer.sln @@ -25,6 +25,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .globalconfig = .globalconfig Directory.Build.props = Directory.Build.props LICENSE.md = LICENSE.md + nuget.config = nuget.config + RELEASE.md = RELEASE.md + stylecop.json = stylecop.json EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{4FD47340-8E8E-4338-BB20-E4AF8E29E78D}" diff --git a/Directory.Build.props b/Directory.Build.props index 218f19ff..1bcd4419 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,15 +1,6 @@ - 1.0.0 - $(BuildalyzerVersion) - $(Version.Split('-')[0]) - $(Version.Split('-')[0]) - Dave Glick, Pablo Monteiro, and contributors - Dave Glick, Pablo Monteiro, and contributors - icon.png - README.md - https://github.com/phmonte/Buildalyzer https://github.com/phmonte/Buildalyzer.git git MIT @@ -17,25 +8,58 @@ true true snupkg - true - true true + + 1.0.0 + $(BuildalyzerVersion) + $(Version.Split('-')[0]) + $(Version.Split('-')[0]) + 12 + enable + true + false + + + + + A little utility to perform design-time builds of .NET projects without + having to think too hard about it. Should work with any project type on + any .NET runtime. + + + Roslyn, + MsBuild, + Workspaces, + C#, + F#, + VB.NET + + Dave Glick, Pablo Monteiro, Corniel Nobel, and contributors + Dave Glick, Pablo Monteiro, and contributors + Dave Glick, Pablo Monteiro + icon.png + https://github.com/phmonte/Buildalyzer/blob/main/icon.png + README.md + https://github.com/phmonte/Buildalyzer + + - + + + - diff --git a/nuget.config b/nuget.config new file mode 100644 index 00000000..5726bab2 --- /dev/null +++ b/nuget.config @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/Buildalyzer.Logger/Buildalyzer.Logger.csproj b/src/Buildalyzer.Logger/Buildalyzer.Logger.csproj index f6e8dd05..1bac2eaa 100644 --- a/src/Buildalyzer.Logger/Buildalyzer.Logger.csproj +++ b/src/Buildalyzer.Logger/Buildalyzer.Logger.csproj @@ -2,10 +2,18 @@ netstandard2.0 - 12 true The MSBuild logger for Buildalyzer. Not intended to be used directly. $(TargetsForTfmSpecificBuildOutput);PackLogger + Buildalyzer.Logger + true + true + 6.0.0 + library + +ToBeReleased +- Target .NET 8.0. #252 + @@ -13,6 +21,10 @@ + + + + diff --git a/src/Buildalyzer.Workspaces/Buildalyzer.Workspaces.csproj b/src/Buildalyzer.Workspaces/Buildalyzer.Workspaces.csproj index 1704b673..067722f8 100644 --- a/src/Buildalyzer.Workspaces/Buildalyzer.Workspaces.csproj +++ b/src/Buildalyzer.Workspaces/Buildalyzer.Workspaces.csproj @@ -2,8 +2,20 @@ net6.0;net8.0 - 12 - A little utility to perform design-time builds of .NET projects without having to think too hard about it. This extension library adds support for creating a Roslyn workspace from Buildalyzer. + + A little utility to perform design-time builds of .NET projects without + having to think too hard about it. This extension library adds support + for creating a Roslyn workspace from Buildalyzer. + + Buildalyzer.Workspaces + true + true + 6.0.0 + library + +ToBeReleased +- Target .NET 8.0. #252 + @@ -15,4 +27,8 @@ + + + + \ No newline at end of file diff --git a/src/Buildalyzer/Buildalyzer.csproj b/src/Buildalyzer/Buildalyzer.csproj index 9c391be9..2b700094 100644 --- a/src/Buildalyzer/Buildalyzer.csproj +++ b/src/Buildalyzer/Buildalyzer.csproj @@ -1,19 +1,29 @@ - + net6.0;net8.0 - 12 - A little utility to perform design-time builds of .NET projects without having to think too hard about it. Should work with any project type on any .NET runtime. + Buildalyzer + true + true + 6.0.0 + library + +ToBeReleased +- Marked EmptyDisposable as obsolete. #253 +- Target .NET 8.0. #252 + - - + + + + @@ -30,4 +40,8 @@ + + + + \ No newline at end of file diff --git a/tests/Buildalyzer.Tests/Buildalyzer.Tests.csproj b/tests/Buildalyzer.Tests/Buildalyzer.Tests.csproj index 708036af..7ccf5a51 100644 --- a/tests/Buildalyzer.Tests/Buildalyzer.Tests.csproj +++ b/tests/Buildalyzer.Tests/Buildalyzer.Tests.csproj @@ -2,7 +2,8 @@ net8.0 - 12 + false + library @@ -14,14 +15,15 @@ - + + + - - - + + @@ -29,6 +31,10 @@ + + + + Is_Windows diff --git a/tests/Buildalyzer.Workspaces.Tests/Buildalyzer.Workspaces.Tests.csproj b/tests/Buildalyzer.Workspaces.Tests/Buildalyzer.Workspaces.Tests.csproj index e5a47b46..d0a90108 100644 --- a/tests/Buildalyzer.Workspaces.Tests/Buildalyzer.Workspaces.Tests.csproj +++ b/tests/Buildalyzer.Workspaces.Tests/Buildalyzer.Workspaces.Tests.csproj @@ -2,25 +2,32 @@ net8.0 - 12 + false + library - + + + + - - - + + + + + + Is_Windows