Skip to content

Commit

Permalink
Update project version to 1.0.0-dev-00007, add new props for analyzer…
Browse files Browse the repository at this point in the history
…s and includes.

Detailed Description:
- Updated the project version from 1.0.0-dev-00006 to 1.0.0-dev-00007.
- Added new props files Analyzers.props and Includes.props.
- Included package versions for Meziantou.Analyzer, Roslynator.Analyzers,
  Roslynator.CodeAnalysis.Analyzers, and Roslynator.Formatting.Analyzers in
  Analyzers.props with versions 2.0.177 and 4.12.9 respectively.
- Created ImportGroup in Includes.props to import Analyzers.props and
  PackSite.Libraries.props conditionally based on their existence in the project structure.
  • Loading branch information
adambajguz committed Nov 10, 2024
1 parent b82b428 commit 299ba2e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
9 changes: 1 addition & 8 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<Version>1.0.0-dev-00006</Version>
<Version>1.0.0-dev-00007</Version>
<Author>PackSite</Author>
<Company>PackSite</Company>
<Copyright>
Expand All @@ -13,11 +13,4 @@
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" PrivateAssets="all" />
<PackageReference Include="Roslynator.Analyzers" PrivateAssets="all" />
<PackageReference Include="Roslynator.CodeAnalysis.Analyzers" PrivateAssets="all" />
<PackageReference Include="Roslynator.Formatting.Analyzers" PrivateAssets="all" />
</ItemGroup>

</Project>
11 changes: 2 additions & 9 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,9 @@
</PropertyGroup>

<ImportGroup>
<Import Project="props/PackSite.Libraries.props" />
<Import Project="props/Includes.props" />
</ImportGroup>

<ItemGroup>
<PackageVersion Include="Meziantou.Analyzer" Version="2.0.168" />
<PackageVersion Include="Roslynator.Analyzers" Version="4.12.5" />
<PackageVersion Include="Roslynator.CodeAnalysis.Analyzers" Version="4.12.5" />
<PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.12.5" />
</ItemGroup>


<ItemGroup>
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/PackSite.Library.StringUnformatter.sln
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "props", "props", "{C3D45EFB-B129-4C16-ABF1-0FF2F27B10FF}"
ProjectSection(SolutionItems) = preProject
props\Analyzers.props = props\Analyzers.props
props\Includes.props = props\Includes.props
props\PackSite.Libraries.props = props\PackSite.Libraries.props
EndProjectSection
EndProject
Expand Down
10 changes: 10 additions & 0 deletions src/props/Analyzers.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project>

<ItemGroup>
<PackageVersion Include="Meziantou.Analyzer" Version="2.0.177" />
<PackageVersion Include="Roslynator.Analyzers" Version="4.12.9" />
<PackageVersion Include="Roslynator.CodeAnalysis.Analyzers" Version="4.12.9" />
<PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.12.9" />
</ItemGroup>

</Project>
8 changes: 8 additions & 0 deletions src/props/Includes.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project>

<ImportGroup>
<Import Project="Analyzers.props" Condition="Exists('Analyzers.props')" />
<Import Project="PackSite.Libraries.props" Condition="Exists('PackSite.Libraries.props')" />
</ImportGroup>

</Project>

0 comments on commit 299ba2e

Please sign in to comment.