返回提交历史
Modified
.github/workflows/publish-packages.yml
+6
-7
Modified
.github/workflows/validate.yml
+2
-3
Modified
README.md
+5
-5
Modified
README.zh-CN.md
+5
-5
Modified
XFEExtension.NetCore.WinUIHelper.TestApp/XFEExtension.NetCore.WinUIHelper.TestApp.csproj
+1
-1
Modified
XFEExtension.NetCore.WinUIHelper/XFEExtension.NetCore.WinUIHelper.csproj
+7
-3
XFEstudio/XFEExtension.NetCore.WinUIHelper
切换为解决方案级构建并优化工作流与文档
更新 GitHub Actions 工作流,统一使用解决方案路径进行 restore 和 build,优化发布流程及 Release 说明。调整 README 徽章样式,.NET 版本号更新为 10.0。升级 XFEExtension.NetCore.AutoPath 包至 2.0.0。
2881a33
代码差异
6 个文件
+26
-24
@@ -7,7 +7,7 @@ on:
7
7
workflow_dispatch:
8
8
inputs:
9
9
version:
10
description: Package version to publish, for example 3.0.9
10
description: Package version to publish, for example 1.0.0
11
11
required: true
12
12
type: string
13
13
skip_nuget_org:
@@ -60,10 +60,10 @@ jobs:
60
60
echo "PACKAGE_VERSION=$version" >> "$GITHUB_ENV"
61
61
62
62
- name: Restore
63
run: dotnet restore ${{ env.PROJECT_PATH }}
63
run: dotnet restore ${{ env.SOLUTION_PATH }}
64
64
65
65
- name: Build
66
run: dotnet build ${{ env.PROJECT_PATH }} --configuration Release --no-restore -p:GeneratePackageOnBuild=false -p:ContinuousIntegrationBuild=true -p:Version=${{ env.PACKAGE_VERSION }} -p:PackageVersion=${{ env.PACKAGE_VERSION }}
66
run: dotnet build ${{ env.SOLUTION_PATH }} --configuration Release --no-restore -p:GeneratePackageOnBuild=false -p:ContinuousIntegrationBuild=true -p:Version=${{ env.PACKAGE_VERSION }} -p:PackageVersion=${{ env.PACKAGE_VERSION }}
67
67
68
68
- name: Pack
69
69
run: dotnet pack ${{ env.PROJECT_PATH }} --configuration Release --no-build --no-restore --output ${{ env.PACKAGE_OUTPUT_DIR }} -p:GeneratePackageOnBuild=false -p:ContinuousIntegrationBuild=true -p:Version=${{ env.PACKAGE_VERSION }} -p:PackageVersion=${{ env.PACKAGE_VERSION }}
@@ -101,18 +101,17 @@ jobs:
101
101
}
102
102
103
103
- name: Create GitHub Release
104
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
105
104
uses: softprops/action-gh-release@v2
106
105
with:
107
tag_name: ${{ github.ref_name }}
108
name: XFEExtension.NetCore.WinUIHelper ${{ github.ref_name }}
106
tag_name: ${{ env.PACKAGE_VERSION }}
107
name: V${{ env.PACKAGE_VERSION }}
109
108
generate_release_notes: true
110
109
append_body: true
111
110
body: |
112
111
## Package feeds
113
112
114
113
- NuGet.org
115
- GitHub Packages: `https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json`
114
- GitHub Packages
116
115
files: ${{ env.PACKAGE_OUTPUT_DIR }}/*.nupkg
117
116
fail_on_unmatched_files: true
118
117
prerelease: ${{ contains(env.PACKAGE_VERSION, '-') }}
@@ -13,7 +13,6 @@ permissions:
13
13
env:
14
14
DOTNET_VERSION: 10.0.x
15
15
SOLUTION_PATH: XFEExtension.NetCore.WinUIHelper.slnx
16
PROJECT_PATH: XFEExtension.NetCore.WinUIHelper/XFEExtension.NetCore.WinUIHelper.csproj
17
16
18
17
jobs:
19
18
build:
@@ -29,7 +28,7 @@ jobs:
29
28
dotnet-version: ${{ env.DOTNET_VERSION }}
30
29
31
30
- name: Restore
32
run: dotnet restore ${{ env.PROJECT_PATH }}
31
run: dotnet restore ${{ env.SOLUTION_PATH }}
33
32
34
33
- name: Build
35
run: dotnet build ${{ env.PROJECT_PATH }} --configuration Release --no-restore -p:GeneratePackageOnBuild=false -p:ContinuousIntegrationBuild=true
34
run: dotnet build ${{ env.SOLUTION_PATH }} --configuration Release --no-restore -p:GeneratePackageOnBuild=false -p:ContinuousIntegrationBuild=true
@@ -1,11 +1,11 @@
1
1
# XFEExtension.NetCore.WinUIHelper
2
2
3
[](https://www.nuget.org/packages/XFEExtension.NetCore.WinUIHelper)
4
[](https://www.nuget.org/packages/XFEExtension.NetCore.WinUIHelper)
5
[](LICENSE.txt)
6
[](https://dotnet.microsoft.com/)
3
[](https://www.nuget.org/packages/XFEExtension.NetCore.WinUIHelper/)
4
[](https://www.nuget.org/packages/XFEExtension.NetCore.WinUIHelper/)
5
[](LICENSE.txt)
6
[](https://dotnet.microsoft.com/download)
7
7
8
> 📖 [中文文档](https://github.com/XFEstudio/XFEExtension.NetCore.WinUIHelper/blob/master/README.zh-CN.md)
8
> 📖 English | [简体中文](https://github.com/XFEstudio/XFEExtension.NetCore.WinUIHelper/blob/master/README.zh-CN.md)
9
9
10
10
A WinUI 3 extension library based on .NET 8, providing a set of convenient helper classes, services, and extension methods to streamline WinUI 3 application development.
11
11
@@ -1,11 +1,11 @@
1
1
# XFEExtension.NetCore.WinUIHelper
2
2
3
[](https://www.nuget.org/packages/XFEExtension.NetCore.WinUIHelper)
4
[](https://www.nuget.org/packages/XFEExtension.NetCore.WinUIHelper)
5
[](LICENSE.txt)
6
[](https://dotnet.microsoft.com/)
3
[](https://www.nuget.org/packages/XFEExtension.NetCore.WinUIHelper/)
4
[](https://www.nuget.org/packages/XFEExtension.NetCore.WinUIHelper/)
5
[](LICENSE.txt)
6
[](https://dotnet.microsoft.com/download)
7
7
8
> 📖 [English Documentation](README.md) | 中文文档
8
> 📖 [English](https://github.com/XFEstudio/XFEExtension.NetCore.WinUIHelper/blob/master/README.md) | 简体中文
9
9
10
10
基于 .NET 8 的 WinUI 3 扩展库,提供了一系列便捷的帮助类、服务和扩展方法,旨在简化 WinUI 3 应用的开发流程。
11
11
@@ -57,7 +57,7 @@
57
57
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.1" />
58
58
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.2" />
59
59
<PackageReference Include="CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.2.251219" />
60
<PackageReference Include="XFEExtension.NetCore.AutoConfig" Version="2.0.*" />
60
<PackageReference Include="XFEExtension.NetCore.AutoConfig" Version="3.0.0" />
61
61
</ItemGroup>
62
62
<ItemGroup>
63
63
<Folder Include="Assets\Resources\" />
@@ -9,7 +9,7 @@
9
9
<Nullable>enable</Nullable>
10
10
<GenerateDocumentationFile>True</GenerateDocumentationFile>
11
11
<Title>XFEExtension.NetCore.WinUIHelper</Title>
12
<Version>2.0.0</Version>
12
<Version>2.0.1</Version>
13
13
<Authors>XFEstudio</Authors>
14
14
<PackageIcon>logoIcon.png</PackageIcon>
15
15
<Description>WinUI的各种工具类,帮助开发者快速构建一个模块化的WinUI项目</Description>
@@ -17,7 +17,11 @@
17
17
<NeutralLanguage>zh-CN</NeutralLanguage>
18
18
<PackageReadmeFile>README.md</PackageReadmeFile>
19
19
<PackageReleaseNotes>
20
目前已正式升级至.NET 10.0
20
切换为解决方案级构建并优化工作流与文档
21
22
更新 GitHub Actions 工作流,统一使用解决方案路径进行 restore 和 build,优化发布流程及 Release 说明。
23
调整 README 徽章样式,.NET 版本号更新为 10.0。
24
升级 XFEExtension.NetCore.AutoPath 包至 2.0.0。
21
25
</PackageReleaseNotes>
22
26
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
23
27
<PackageProjectUrl>https://github.com/XFEstudio/XFEExtension.NetCore.WinUIHelper</PackageProjectUrl>
@@ -44,7 +48,7 @@
44
48
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.28000.1839" />
45
49
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.1" />
46
50
<PackageReference Include="XFEExtension.NetCore" Version="4.2.3" />
47
<PackageReference Include="XFEExtension.NetCore.AutoPath" Version="1.0.1" />
51
<PackageReference Include="XFEExtension.NetCore.AutoPath" Version="2.0.0" />
48
52
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.*" />
49
53
</ItemGroup>
50
54
<ItemGroup>