diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000..ff2be35 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,38 @@ + + + + + true + + + + + + + + + + + + + + + + + + + diff --git a/FirstClassErrors.Analyzers.UnitTests/FirstClassErrors.Analyzers.UnitTests.csproj b/FirstClassErrors.Analyzers.UnitTests/FirstClassErrors.Analyzers.UnitTests.csproj index 710c84f..cf3ef08 100644 --- a/FirstClassErrors.Analyzers.UnitTests/FirstClassErrors.Analyzers.UnitTests.csproj +++ b/FirstClassErrors.Analyzers.UnitTests/FirstClassErrors.Analyzers.UnitTests.csproj @@ -8,18 +8,18 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/FirstClassErrors.Analyzers/FirstClassErrors.Analyzers.csproj b/FirstClassErrors.Analyzers/FirstClassErrors.Analyzers.csproj index ad1433b..e092dc2 100644 --- a/FirstClassErrors.Analyzers/FirstClassErrors.Analyzers.csproj +++ b/FirstClassErrors.Analyzers/FirstClassErrors.Analyzers.csproj @@ -21,9 +21,11 @@ and loaded by each consumer's compiler, so a higher version makes it silently fail to load (CS8032) on older SDKs/IDEs. The floor lives once in Directory.Build.props and is enforced by RoslynFloorTests. Microsoft.CodeAnalysis.Analyzers is only a build-time authoring analyzer (PrivateAssets=all), not part - of the load contract, so it is free to move. --> - - + of the load contract, so it is free to move. Under Central Package Management (Directory.Packages.props) + the floor is expressed as a VersionOverride so it stays property-driven and independent of the newer + central Microsoft.CodeAnalysis.CSharp version the analyzer tests consume. --> + + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/FirstClassErrors.Cli.UnitTests/FirstClassErrors.Cli.UnitTests.csproj b/FirstClassErrors.Cli.UnitTests/FirstClassErrors.Cli.UnitTests.csproj index a442664..3307e50 100644 --- a/FirstClassErrors.Cli.UnitTests/FirstClassErrors.Cli.UnitTests.csproj +++ b/FirstClassErrors.Cli.UnitTests/FirstClassErrors.Cli.UnitTests.csproj @@ -8,18 +8,18 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/FirstClassErrors.Cli/FirstClassErrors.Cli.csproj b/FirstClassErrors.Cli/FirstClassErrors.Cli.csproj index e61c78a..34af61c 100644 --- a/FirstClassErrors.Cli/FirstClassErrors.Cli.csproj +++ b/FirstClassErrors.Cli/FirstClassErrors.Cli.csproj @@ -10,7 +10,7 @@ - + diff --git a/FirstClassErrors.GenDoc.UnitTests/FirstClassErrors.GenDoc.UnitTests.csproj b/FirstClassErrors.GenDoc.UnitTests/FirstClassErrors.GenDoc.UnitTests.csproj index d959a7a..0aeccb3 100644 --- a/FirstClassErrors.GenDoc.UnitTests/FirstClassErrors.GenDoc.UnitTests.csproj +++ b/FirstClassErrors.GenDoc.UnitTests/FirstClassErrors.GenDoc.UnitTests.csproj @@ -8,19 +8,19 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/FirstClassErrors.PropertyTests/FirstClassErrors.PropertyTests.csproj b/FirstClassErrors.PropertyTests/FirstClassErrors.PropertyTests.csproj index 43ae738..9c41763 100644 --- a/FirstClassErrors.PropertyTests/FirstClassErrors.PropertyTests.csproj +++ b/FirstClassErrors.PropertyTests/FirstClassErrors.PropertyTests.csproj @@ -8,20 +8,20 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/FirstClassErrors.Testing/FirstClassErrors.Testing.csproj b/FirstClassErrors.Testing/FirstClassErrors.Testing.csproj index 170698e..5d130f4 100644 --- a/FirstClassErrors.Testing/FirstClassErrors.Testing.csproj +++ b/FirstClassErrors.Testing/FirstClassErrors.Testing.csproj @@ -58,7 +58,7 @@ (_manifest/spdx_2.2/manifest.spdx.json), so the inventory of files and dependencies travels with the artifact and is covered by the release's provenance attestation. Build-time only (PrivateAssets=all): consumers never see this as a dependency. --> - + diff --git a/FirstClassErrors.UnitTests/FirstClassErrors.UnitTests.csproj b/FirstClassErrors.UnitTests/FirstClassErrors.UnitTests.csproj index e917431..2f8010a 100644 --- a/FirstClassErrors.UnitTests/FirstClassErrors.UnitTests.csproj +++ b/FirstClassErrors.UnitTests/FirstClassErrors.UnitTests.csproj @@ -8,19 +8,19 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/FirstClassErrors/FirstClassErrors.csproj b/FirstClassErrors/FirstClassErrors.csproj index 73022e6..2a400a7 100644 --- a/FirstClassErrors/FirstClassErrors.csproj +++ b/FirstClassErrors/FirstClassErrors.csproj @@ -64,7 +64,7 @@ (_manifest/spdx_2.2/manifest.spdx.json), so the inventory of files and dependencies travels with the artifact and is covered by the release's provenance attestation. Build-time only (PrivateAssets=all): consumers never see this as a dependency. --> - + false false + + false