Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to Central Package Management #17

Merged
merged 2 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Hangfire.AspNetCore" Version="1.7.34" />
<PackageVersion Include="Hangfire.Core" Version="[1.7.34, 1.8]" />
<PackageVersion Include="Hangfire.MemoryStorage" Version="1.7.0" />
<PackageVersion Include="RazorGenerator.MsBuild" Version="2.5.0" />
<PackageVersion Include="RazorGenerator.Templating" Version="2.4.7" />
</ItemGroup>
</Project>
16 changes: 4 additions & 12 deletions src/Hangfire.MissionControl/Hangfire.MissionControl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

<ItemGroup>
<RazorSrcFiles Include="Dashboard\Pages\*.cshtml" />
<RazorSrcFiles Remove="Dashboard\Pages\MissionsOverviewPage.cshtml" />
</ItemGroup>

<PropertyGroup>
Expand All @@ -32,10 +33,6 @@
<None Remove="Dashboard\Content\moment.min.js" />
</ItemGroup>

<ItemGroup>
<RazorSrcFiles Remove="Dashboard\Pages\MissionsOverviewPage.cshtml" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="Dashboard\Content\bootstrap-datetimepicker.min.css" />
<EmbeddedResource Include="Dashboard\Content\bootstrap-datetimepicker.min.js" />
Expand All @@ -45,13 +42,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Hangfire.Core" Version="[1.7.3, 1.9)" />
<PackageReference Include="RazorGenerator.MsBuild" Version="2.4.7">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="RazorGenerator.Templating" Version="2.4.7">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Hangfire.Core" />
<PackageReference Include="RazorGenerator.MsBuild" PrivateAssets="all" />
<PackageReference Include="RazorGenerator.Templating" PrivateAssets="all" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>10</LangVersion>
</PropertyGroup>

<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Hangfire.AspNetCore" />
<PackageReference Include="Hangfire.MemoryStorage" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Hangfire.MissionControl\Hangfire.MissionControl.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@
</PropertyGroup>

<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Hangfire" Version="1.8.4" />
<PackageReference Include="Hangfire.MemoryStorage" Version="1.8.0" />
<PackageReference Include="Hangfire.AspNetCore" />
<PackageReference Include="Hangfire.MemoryStorage" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading