Skip to content

Commit

Permalink
fix: Disabled central package management.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Jul 26, 2023
1 parent 7edbe67 commit 9964f51
Show file tree
Hide file tree
Showing 20 changed files with 45 additions and 94 deletions.
1 change: 0 additions & 1 deletion H.NotifyIcon.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.github\FUNDING.yml = .github\FUNDING.yml
LICENSE.md = LICENSE.md
README.md = README.md
src\Directory.Packages.props = src\Directory.Packages.props
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "H.NotifyIcon", "src\libs\H.NotifyIcon\H.NotifyIcon.csproj", "{0485EE3E-3745-4E79-A396-19AE493FA9D3}"
Expand Down
4 changes: 0 additions & 4 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<Project>

<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>

<!-- <Sdk Name="DotNet.ReproducibleBuilds.Isolated" Version="1.1.1" />-->

<PropertyGroup Label="Common">
Expand Down
42 changes: 0 additions & 42 deletions src/Directory.Packages.props

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Drawing.Common" />
<PackageReference Include="H.Resources.Generator">
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
<PackageReference Include="H.Resources.Generator" Version="1.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions src/apps/H.NotifyIcon.Apps.Maui/H.NotifyIcon.Apps.Maui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="2.88.3" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Uno.WinUI.Skia.Wpf" />
<PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" />
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
<PackageReference Include="Uno.WinUI.Skia.Wpf" Version="4.9.42" />
<PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" Version="4.9.42" />
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="4.9.42" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
<PackageReference Include="Microsoft.WindowsAppSDK" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230724000" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.755" />
<Manifest Include="$(ApplicationManifest)" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
<PackageReference Include="Microsoft.WindowsAppSDK" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230724000" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/apps/H.NotifyIcon.Apps.Wpf/H.NotifyIcon.Apps.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="DependencyPropertyGenerator">
<PackageReference Include="DependencyPropertyGenerator" Version="1.2.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Drawing.Common" />
<PackageReference Include="System.Resources.Extensions" PrivateAssets="All" />
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
<PackageReference Include="System.Resources.Extensions" Version="7.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@
</ItemGroup>

<ItemGroup Label="Source Link">
<PackageReference Include="DotNet.ReproducibleBuilds">
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Label="PolySharp">
<PackageReference Include="PolySharp">
<PackageReference Include="PolySharp" Version="1.13.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="SkiaSharp" />
<PackageReference Include="SkiaSharp" Version="2.88.3" />
</ItemGroup>

<PropertyGroup Label="NuGet">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'net4.6.2'">
<PackageReference Include="System.Drawing.Common" />
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
</ItemGroup>

<PropertyGroup Label="NuGet">
Expand Down
6 changes: 2 additions & 4 deletions src/libs/H.NotifyIcon.Maui/H.NotifyIcon.Maui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,14 @@ popups, context menus, and balloon messages. It can be used directly in code or
</ItemGroup>

<ItemGroup>
<PackageReference Include="DependencyPropertyGenerator">
<PackageReference Include="DependencyPropertyGenerator" Version="1.2.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="EventGenerator.Generator">
<PackageReference Include="EventGenerator.Generator" Version="0.13.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageVersion Remove="Microsoft.WindowsAppSDK" />
<PackageVersion Remove="Microsoft.Windows.SDK.BuildTools" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/libs/H.NotifyIcon.Uno.WinUI/H.NotifyIcon.Uno.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Uno.WinUI" />
<PackageReference Include="Uno.WinUI" Version="4.9.42" />
</ItemGroup>

<PropertyGroup Label="NuGet">
Expand All @@ -22,11 +22,11 @@ popups, context menus, and balloon messages. It can be used directly in code or
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DependencyPropertyGenerator">
<PackageReference Include="DependencyPropertyGenerator" Version="1.2.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="EventGenerator.Generator">
<PackageReference Include="EventGenerator.Generator" Version="0.13.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
6 changes: 3 additions & 3 deletions src/libs/H.NotifyIcon.Uno/H.NotifyIcon.Uno.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Uno.UI" />
<PackageReference Include="Uno.UI" Version="4.9.42" />
</ItemGroup>

<PropertyGroup Label="NuGet">
Expand All @@ -22,11 +22,11 @@ popups, context menus, and balloon messages. It can be used directly in code or
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DependencyPropertyGenerator">
<PackageReference Include="DependencyPropertyGenerator" Version="1.2.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="EventGenerator.Generator">
<PackageReference Include="EventGenerator.Generator" Version="0.13.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
6 changes: 3 additions & 3 deletions src/libs/H.NotifyIcon.WinUI/H.NotifyIcon.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230724000" />
</ItemGroup>

<PropertyGroup Label="NuGet">
Expand All @@ -23,11 +23,11 @@ popups, context menus, and balloon messages. It can be used directly in code or
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DependencyPropertyGenerator">
<PackageReference Include="DependencyPropertyGenerator" Version="1.2.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="EventGenerator.Generator">
<PackageReference Include="EventGenerator.Generator" Version="0.13.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
8 changes: 4 additions & 4 deletions src/libs/H.NotifyIcon.Wpf/H.NotifyIcon.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ popups, context menus, and balloon messages. It can be used directly in code or
</ItemGroup>

<ItemGroup>
<PackageReference Include="DependencyPropertyGenerator">
<PackageReference Include="DependencyPropertyGenerator" Version="1.2.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="EventGenerator.Generator">
<PackageReference Include="EventGenerator.Generator" Version="0.11.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="WpfAnalyzers">
<PackageReference Include="WpfAnalyzers" Version="4.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.ValueTuple" Condition="'$(TargetFramework)' == 'net4.6.2'" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" Condition="'$(TargetFramework)' == 'net4.6.2'" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/H.NotifyIcon/H.NotifyIcon.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="EventGenerator.Generator">
<PackageReference Include="EventGenerator.Generator" Version="0.13.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Windows.CsWin32">
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.2.188-beta">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="MSTest.TestFramework" />
<PackageReference Include="FluentAssertions" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="FluentAssertions" Version="6.11.0" />
</ItemGroup>

<ItemGroup Label="GlobalUsings">
Expand All @@ -17,11 +17,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="H.Resources.Generator">
<PackageReference Include="H.Resources.Generator" Version="1.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Drawing.Common" />
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 9964f51

Please sign in to comment.