Skip to content

Commit 04eedd1

Browse files
committed
Refactor project file for readability and organization
Reformatted `IeuanWalker.Hangfire.RecurringJob.Generator.csproj` for improved readability with consistent indentation. Added a new `<PropertyGroup>` for metadata including versioning and package details. Updated `<ItemGroup>` to include `README.md` and `icon.png`, while maintaining existing DLL references. Reorganized project and package references for clarity and completeness.
1 parent d873158 commit 04eedd1

File tree

1 file changed

+36
-35
lines changed

1 file changed

+36
-35
lines changed
Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,53 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
8-
<IncludeBuildOutput>false</IncludeBuildOutput>
9-
<IsRoslynComponent>true</IsRoslynComponent>
10-
<LangVersion>latest</LangVersion>
11-
</PropertyGroup>
12-
13-
<PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
8+
<IncludeBuildOutput>false</IncludeBuildOutput>
9+
<IsRoslynComponent>true</IsRoslynComponent>
10+
<LangVersion>latest</LangVersion>
11+
</PropertyGroup>
12+
13+
<PropertyGroup>
1414
<Version>1.0.0</Version>
1515
<PackageId>IeuanWalker.Hangfire.RecurringJob</PackageId>
1616
<Description>Automatically generates the recurring job registration code using source generators</Description>
17-
<PackageTags>Hangfire;RecurringJob;Source Generator</PackageTags>
18-
<Authors>Ieuan Walker</Authors>
19-
<PackageProjectUrl>https://github.com/IeuanWalker/Hangfire.RecurringJob</PackageProjectUrl>
20-
<RepositoryType>git</RepositoryType>
21-
<RepositoryUrl>https://github.com/IeuanWalker/Hangfire.RecurringJob</RepositoryUrl>
17+
<PackageTags>Hangfire;RecurringJob;Source Generator</PackageTags>
18+
<Authors>Ieuan Walker</Authors>
19+
<PackageProjectUrl>https://github.com/IeuanWalker/Hangfire.RecurringJob</PackageProjectUrl>
20+
<RepositoryType>git</RepositoryType>
21+
<RepositoryUrl>https://github.com/IeuanWalker/Hangfire.RecurringJob</RepositoryUrl>
2222
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2323
<PackageLicenseFile>LICENSE</PackageLicenseFile>
2424
<PackageReadmeFile>README.md</PackageReadmeFile>
2525
<PackageIcon>icon.png</PackageIcon>
2626
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
27-
</PropertyGroup>
27+
</PropertyGroup>
2828

2929
<ItemGroup>
3030
<None Include="../../LICENSE" Pack="true" PackagePath="\" />
31-
@@ -33,21 +33,21 @@
32-
</ItemGroup>
33-
34-
<ItemGroup>
35-
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
36-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.7.0" />
37-
</ItemGroup>
38-
39-
<ItemGroup>
40-
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
41-
42-
<!-- Pack the attributes dll in the analyzers/dotnet/cs path -->
43-
<None Include="$(OutputPath)\IeuanWalker.Hangfire.RecurringJob.Attributes.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
44-
45-
<!-- Pack the attributes dll in the lib\netstandard2.0 path -->
46-
<None Include="$(OutputPath)\IeuanWalker.Hangfire.RecurringJob.Attributes.dll" Pack="true" PackagePath="lib\netstandard2.0" Visible="true" />
31+
<None Include="../../README.md" Pack="true" PackagePath="\" />
32+
<None Include="../../icon.png" Pack="true" PackagePath="\" />
4733
</ItemGroup>
4834

4935
<ItemGroup>
50-
<ProjectReference Include="..\IeuanWalker.Hangfire.RecurringJob.Attributes\IeuanWalker.Hangfire.RecurringJob.Attributes.csproj" PrivateAssets="all" />
51-
</ItemGroup>
36+
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
37+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.7.0" />
38+
</ItemGroup>
39+
40+
<ItemGroup>
41+
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
42+
43+
<!-- Pack the attributes dll in the analyzers/dotnet/cs path -->
44+
<None Include="$(OutputPath)\IeuanWalker.Hangfire.RecurringJob.Attributes.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
45+
46+
<!-- Pack the attributes dll in the lib\netstandard2.0 path -->
47+
<None Include="$(OutputPath)\IeuanWalker.Hangfire.RecurringJob.Attributes.dll" Pack="true" PackagePath="lib\netstandard2.0" Visible="true" />
48+
</ItemGroup>
49+
50+
<ItemGroup>
51+
<ProjectReference Include="..\IeuanWalker.Hangfire.RecurringJob.Attributes\IeuanWalker.Hangfire.RecurringJob.Attributes.csproj" PrivateAssets="all" />
52+
</ItemGroup>
5253
</Project>

0 commit comments

Comments
 (0)