Skip to content

Commit 38c0f4f

Browse files
authored
Merge pull request #33 from escendit/32-consolidate-stylecopanalyzers-package
Align StyleCop.Analyzers package version declaration across project files
2 parents aae0201 + 0475a66 commit 38c0f4f

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
</PropertyGroup>
25
<PropertyGroup>
36
<RepositoryType>git</RepositoryType>
47
<RepositoryUrl>https://github.com/escendit/tools-codeanalysis-stylecop</RepositoryUrl>

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project>
22
<ItemGroup>
33
<PackageVersion Include="Escendit.Tools.Branding" Version="1.2.0"/>
4+
<PackageVersion Include="StyleCop.Analyzers.Unstable" Version="1.2.0.556"/>
45
</ItemGroup>
56
</Project>

src/Escendit.Tools.CodeAnalysis.StyleCopAnalyzers/Escendit.Tools.CodeAnalysis.StyleCopAnalyzers.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PackageTags>analyzers;stylecop;defaults</PackageTags>
1010
</PropertyGroup>
1111
<ItemGroup>
12-
<PackageReference Include="StyleCop.Analyzers.Unstable" Version="1.2.0.556">
12+
<PackageReference Include="StyleCop.Analyzers.Unstable">
1313
<PrivateAssets>runtime; build; native; contentfiles</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>

0 commit comments

Comments
 (0)