Skip to content

Commit c0e5d25

Browse files
committed
Build for WinUI3
1 parent f8f6c3d commit c0e5d25

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: windows-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- name: Setup .NET Core
14+
- name: Setup .NET
1515
uses: actions/setup-dotnet@v3
1616
with:
1717
dotnet-version: 6
@@ -32,7 +32,7 @@ jobs:
3232
if: github.event_name == 'push'
3333
steps:
3434
- uses: actions/checkout@v3
35-
- name: Setup .NET Core
35+
- name: Setup .NET
3636
uses: actions/setup-dotnet@v3
3737
with:
3838
dotnet-version: 6
@@ -57,7 +57,7 @@ jobs:
5757
needs: pack
5858
if: github.event_name == 'push'
5959
steps:
60-
- name: Setup .NET Core
60+
- name: Setup .NET
6161
uses: actions/setup-dotnet@v3
6262
with:
6363
dotnet-version: 6

build/build-libs.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
dotnet build --configuration release .\src\Auth\Auth.csproj
22
dotnet build --configuration release .\src\Auth.UI\Auth.UI.csproj
33
dotnet build --configuration release .\src\Auth.UI.WPF\Auth.UI.WPF.csproj
4+
dotnet build --configuration release .\src\Auth.UI.WinUI3\Auth.UI.WinUI3.csproj
45
msbuild /restore /p:Configuration=Release .\src\Auth.UI.UWP\Auth.UI.UWP.csproj

build/build-samples.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dotnet build --configuration release .\samples\Console\Auth.Console.Sample.csproj
22
dotnet build --configuration release .\samples\WPF\Auth.WPF.Sample.csproj
3+
dotnet build --configuration release .\samples\WinUI3\Auth.WinUI3.Sample.csproj
34
msbuild /restore /p:Configuration=Debug .\samples\UWP\Auth.UWP.Sample.csproj

build/run-pack.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ if ($preview) {
77
write "Creating preview packages with version suffix $suffix"
88
dotnet pack --configuration release --output $output --version-suffix=$suffix .\src\Auth\Auth.csproj
99
dotnet pack --configuration release --output $output --version-suffix=$suffix .\src\Auth.UI.WPF\Auth.UI.WPF.csproj
10+
dotnet pack --configuration release --output $output --version-suffix=$suffix .\src\Auth.UI.WinUI3\Auth.UI.WinUI3.csproj
1011
msbuild /t:restore,pack /p:Configuration=Release /p:PackageOutputPath=$output /p:VersionSuffix=$suffix .\src\Auth.UI.UWP\Auth.UI.UWP.csproj
1112
} else {
1213
$version = $(git describe --tags --abbrev=0).substring(1)
1314
write "Creating packages with tag version $version"
1415
dotnet pack --configuration release --output $output -p:version=$version .\src\Auth\Auth.csproj
1516
dotnet pack --configuration release --output $output -p:version=$version .\src\Auth.UI.WPF\Auth.UI.WPF.csproj
17+
dotnet pack --configuration release --output $output -p:version=$version .\src\Auth.UI.WinUI3\Auth.UI.WinUI3.csproj
1618
msbuild /t:restore,pack /p:Configuration=Release /p:PackageOutputPath=$output /p:Version=$version .\src\Auth.UI.UWP\Auth.UI.UWP.csproj
1719
}

0 commit comments

Comments
 (0)