Skip to content

Commit d2b6d16

Browse files
committed
迁移到 slnx
1 parent f2528b7 commit d2b6d16

File tree

6 files changed

+30
-56
lines changed

6 files changed

+30
-56
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ body:
4242
description: Which Windows versions did you see the issue on?
4343
options:
4444
- "Insider Build (xxxxx)"
45+
- "Windows 11 version 24H2 (26100, 2024 Update)"
46+
- "Windows 11 version 23H2 (22631, November 2023 Update)"
4547
- "Windows 11 version 22H2 (22621, 2022 Update)"
4648
- "Windows 11 version 21H2 (22000)"
4749
- "Windows 10 version 22H2 (19045, 2022 Update)"
@@ -52,6 +54,16 @@ body:
5254
- "Windows 10 version 1909 (18363, November 2019 Update)"
5355
- "Windows 10 version 1903 (18362, May 2019 Update)"
5456
- "Windows 10 version 1809 (17763, October 2018 Update)"
57+
- "Windows 10 version 1803 (17134, April 2018 Update)"
58+
- "Windows 10 version 1709 (16299, Fall Creators Update)"
59+
- "Windows 10 version 1709 (15254, Fall Creators Update)"
60+
- "Windows 10 version 1703 (15063, Creators Update)"
61+
- "Windows 10 version 1607 (14393, Anniversary Update)"
62+
- "Windows 10 version 1511 (10586, November Update)"
63+
- "Windows 10 version 1507 (10240)"
64+
- "Windows 8.1 Update 1 (9600)"
65+
- "Windows 8.1 (9483)"
66+
- "Windows 8 (9200)"
5567
- type: dropdown
5668
validations:
5769
required: true

.github/workflows/build-and-package.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: windows-latest
2121

2222
env:
23-
Solution_Name: CoreAppUAP.sln
23+
Solution_Name: CoreAppUAP.slnx
2424
Project_Directory: CoreAppUAP
2525
Signing_Certificate: CoreAppUAP_TemporaryKey.pfx
2626

@@ -61,9 +61,6 @@ jobs:
6161
Configuration: Release
6262
Platform: 'x64'
6363

64-
- name: Nuget restore
65-
run: nuget restore $env:Solution_Name
66-
6764
# Create the app package by building and packaging the Windows Application Packaging project
6865
- name: Create the app package (x64)
6966
run: msbuild $env:Solution_Name `

CoreAppUAP.sln

Lines changed: 0 additions & 50 deletions
This file was deleted.

CoreAppUAP.slnx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Solution>
2+
<Configurations>
3+
<Platform Name="ARM" />
4+
<Platform Name="arm64" />
5+
<Platform Name="x64" />
6+
<Platform Name="x86" />
7+
</Configurations>
8+
<Project Path="CoreAppUAP/CoreAppUAP.csproj">
9+
<Platform Solution="*|ARM" Project="x64" />
10+
<Platform Solution="*|arm64" Project="arm64" />
11+
<Platform Solution="*|x64" Project="x64" />
12+
<Platform Solution="*|x86" Project="x86" />
13+
<Deploy />
14+
</Project>
15+
</Solution>

CoreAppUAP/Common/WeakEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public bool Equals(Action<TEventArgs> callback) =>
4545

4646
public static implicit operator Method(Action<TEventArgs> callback) => new(callback);
4747

48-
public static explicit operator Action<TEventArgs>(Method method) => method.IsDead ? null : method._method.CreateDelegate(typeof(Action<TEventArgs>), method._reference.Target) as Action<TEventArgs>;
48+
public static explicit operator Action<TEventArgs>(Method method) => method.IsDead ? null : method._method.CreateDelegate<Action<TEventArgs>>(method._reference.Target);
4949
}
5050

5151
private readonly List<Method> _list;

CoreAppUAP/Helpers/ThemeHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public static bool IsDarkTheme(ElementTheme actualTheme)
211211
? Application.Current.RequestedTheme == ApplicationTheme.Dark
212212
: actualTheme == ElementTheme.Dark
213213
: actualTheme == ElementTheme.Default
214-
? UISettings?.GetColorValue(UIColorType.Foreground).IsColorLight() == true
214+
? UISettings.GetColorValue(UIColorType.Foreground).IsColorLight()
215215
: actualTheme == ElementTheme.Dark;
216216
}
217217

0 commit comments

Comments
 (0)