Skip to content

Commit

Permalink
refactor: 明确指定每一个包的版本
Browse files Browse the repository at this point in the history
  • Loading branch information
SlimeNull committed Sep 28, 2024
1 parent 631e3bd commit 3bcef54
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 3 deletions.
4 changes: 4 additions & 0 deletions EleCho.WpfSuite.Common/EleCho.WpfSuite.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

<Import Project="../Package.props" />

<PropertyGroup>
<Version>0.9.0</Version>
</PropertyGroup>

<ItemGroup>
<Compile Update="Properties\StringResources.Designer.cs">
<DependentUpon>StringResources.resx</DependentUpon>
Expand Down
4 changes: 4 additions & 0 deletions EleCho.WpfSuite.Controls/EleCho.WpfSuite.Controls.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

<Import Project="../Package.props" />

<PropertyGroup>
<Version>0.9.0</Version>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\EleCho.WpfSuite.Helpers\EleCho.WpfSuite.Helpers.csproj" />
<ProjectReference Include="..\EleCho.WpfSuite.Media\EleCho.WpfSuite.Media.csproj" />
Expand Down
4 changes: 4 additions & 0 deletions EleCho.WpfSuite.Helpers/EleCho.WpfSuite.Helpers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

<Import Project="../Package.props" />

<PropertyGroup>
<Version>0.9.0</Version>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\EleCho.WpfSuite.Common\EleCho.WpfSuite.Common.csproj" />
</ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions EleCho.WpfSuite.Input/EleCho.WpfSuite.Input.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

<Import Project="../Package.props" />

<PropertyGroup>
<Version>0.9.0</Version>
</PropertyGroup>

</Project>
4 changes: 4 additions & 0 deletions EleCho.WpfSuite.Layouts/EleCho.WpfSuite.Layouts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

<Import Project="../Package.props" />

<PropertyGroup>
<Version>0.9.0</Version>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\EleCho.WpfSuite.Common\EleCho.WpfSuite.Common.csproj" />
</ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions EleCho.WpfSuite.Markup/EleCho.WpfSuite.Markup.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Package.props"/>

<PropertyGroup>
<Version>0.9.0</Version>
</PropertyGroup>

</Project>
4 changes: 4 additions & 0 deletions EleCho.WpfSuite.Media/EleCho.WpfSuite.Media.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

<Import Project="../Package.props" />

<PropertyGroup>
<Version>0.9.0</Version>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\EleCho.WpfSuite.Common\EleCho.WpfSuite.Common.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Package.props" />

<PropertyGroup>
<Version>0.9.1</Version>
</PropertyGroup>

</Project>
3 changes: 2 additions & 1 deletion EleCho.WpfSuite.sln
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{25FD5AAC-4EC9-49C1-9A5E-25482449FFD9}"
ProjectSection(SolutionItems) = preProject
Package.props = Package.props
Packages.md = Packages.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EleCho.WpfSuite.Helpers", "EleCho.WpfSuite.Helpers\EleCho.WpfSuite.Helpers.csproj", "{969147B2-504D-4510-A4BB-55A84B05D10D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EleCho.WpfSuite.Input", "EleCho.WpfSuite.Input\EleCho.WpfSuite.Input.csproj", "{E545D64E-834D-4CBB-899C-C1F440E2278E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EleCho.WpfSuite.Markup", "EleCho.WpfSuite.Markup\EleCho.WpfSuite.Markup.csproj", "{612554DD-1C4C-4AD7-A21C-64736CD577D1}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EleCho.WpfSuite.Markup", "EleCho.WpfSuite.Markup\EleCho.WpfSuite.Markup.csproj", "{612554DD-1C4C-4AD7-A21C-64736CD577D1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
4 changes: 4 additions & 0 deletions EleCho.WpfSuite/EleCho.WpfSuite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

<Import Project="../Package.props" />

<PropertyGroup>
<Version>0.9.1</Version>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\EleCho.WpfSuite.Common\EleCho.WpfSuite.Common.csproj" />
<ProjectReference Include="..\EleCho.WpfSuite.Controls\EleCho.WpfSuite.Controls.csproj" />
Expand Down
2 changes: 0 additions & 2 deletions Package.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>

<Version>0.9.0</Version>

<Authors>EleCho</Authors>
<Copyright>Copyright © 2024 EleCho</Copyright>
<PackageProjectUrl>https://wpfsuite.elecho.dev</PackageProjectUrl>
Expand Down
7 changes: 7 additions & 0 deletions Packages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Package Notes

EleCho.WpfSuite 分为三种包: 基础包, 整合包, 拓展包

所有的基础功能被拆分为多个基础包, 例如 .Input, .Markup, .Layouts, .Controls 等.
整合包是一个空包, 依赖所有基础包, 可以方便用户安装以获取所有基础功能.
拓展包则是基于整合包的拓展功能包, 例如 .FluentDesign

0 comments on commit 3bcef54

Please sign in to comment.