Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows App SDK 1.0.0 stable #9177

Merged
merged 130 commits into from
Mar 21, 2022
Merged
Show file tree
Hide file tree
Changes from 111 commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
8328810
Update to Windows App SDK 0.8
asklar Jun 27, 2021
56bb200
Update template app and tests
asklar Jun 27, 2021
b522113
Change files
asklar Jun 28, 2021
250183a
No lifecycle events in reunion yet
asklar Jun 28, 2021
b8f0995
No OnActivated in reunion
asklar Jun 28, 2021
1f286db
C# winui3 -> no OnActivated
asklar Jun 28, 2021
bfeddfd
Add starting app - need to template-ize it
asklar Jun 28, 2021
61ae33f
Templatize reunion app
asklar Jun 28, 2021
1530640
Use new C# Reunion project for --useWinUI3
asklar Jun 28, 2021
c7175d3
only copy WAP for reunion
asklar Jun 29, 2021
a0c257b
Change files
asklar Jun 29, 2021
d7ae847
lint
asklar Jun 29, 2021
affd934
Add starting app - need to template-ize it
asklar Jun 28, 2021
a21d747
Templatize reunion app
asklar Jun 28, 2021
5e7b1cd
Use new C# Reunion project for --useWinUI3
asklar Jun 28, 2021
2f490dc
only copy WAP for reunion
asklar Jun 29, 2021
32f66c5
Fix config/autolinking
asklar Jun 29, 2021
af5b4d1
lint
asklar Jun 29, 2021
55a4295
>
asklar Jun 29, 2021
ce7987f
Use nuget version for reunion
asklar Jun 29, 2021
a2819a1
add to stages
asklar Jun 29, 2021
5309e82
NuGet test feed in nuget.config
asklar Jun 29, 2021
1a3152e
init cleanup
asklar Jun 29, 2021
bb1ad70
deploy>
asklar Jul 8, 2021
88dffce
0.8.1
asklar Jul 28, 2021
bd6aba8
using WinAppSDK 1.0.0-experimental1
asklar Sep 3, 2021
5591cc1
use preview windows sdk targetframework
asklar Sep 3, 2021
42ef367
Update to Windows App SDK 0.8
asklar Jun 27, 2021
2973feb
Update template app and tests
asklar Jun 27, 2021
7194bbf
Change files
asklar Jun 28, 2021
df8c5ec
No lifecycle events in reunion yet
asklar Jun 28, 2021
55f0045
No OnActivated in reunion
asklar Jun 28, 2021
5de9b83
C# winui3 -> no OnActivated
asklar Jun 28, 2021
471c465
Add starting app - need to template-ize it
asklar Jun 28, 2021
9db1d03
Templatize reunion app
asklar Jun 28, 2021
ca8fbb4
Use new C# Reunion project for --useWinUI3
asklar Jun 28, 2021
bd9f7be
only copy WAP for reunion
asklar Jun 29, 2021
7e64531
Change files
asklar Jun 29, 2021
757bbe4
lint
asklar Jun 29, 2021
203ce56
Add starting app - need to template-ize it
asklar Jun 28, 2021
fdedc22
Templatize reunion app
asklar Jun 28, 2021
1032021
Use new C# Reunion project for --useWinUI3
asklar Jun 28, 2021
1947f6f
only copy WAP for reunion
asklar Jun 29, 2021
e5f53e7
Fix config/autolinking
asklar Jun 29, 2021
c4de2e3
lint
asklar Jun 29, 2021
d198026
>
asklar Jun 29, 2021
453ca9f
Use nuget version for reunion
asklar Jun 29, 2021
a1ff35d
add to stages
asklar Jun 29, 2021
f54df73
NuGet test feed in nuget.config
asklar Jun 29, 2021
e4c7c2c
init cleanup
asklar Jun 29, 2021
41a4429
deploy>
asklar Jul 8, 2021
e10e495
0.8.1
asklar Jul 28, 2021
3ce06e2
using WinAppSDK 1.0.0-experimental1
asklar Sep 3, 2021
a3edeb1
use preview windows sdk targetframework
asklar Sep 3, 2021
81a5b80
Merge branch 'appsdk-1.0' of https://github.com/asklar/react-native-w…
asklar Sep 26, 2021
cdc29f2
updated to preview1, not yet building
asklar Sep 27, 2021
80520da
fix yarn build
AgneLukoseviciute Nov 1, 2021
1d1e514
update to preview 3
AgneLukoseviciute Nov 2, 2021
6710d82
no RawPointer in WAS
AgneLukoseviciute Nov 2, 2021
3b44a32
template follows WAS samples template
AgneLukoseviciute Nov 4, 2021
709b5b6
format
AgneLukoseviciute Nov 4, 2021
959d80a
updated sln & csproj to follow template
AgneLukoseviciute Nov 9, 2021
44ce5ea
changes to cli to allow for testing
AgneLukoseviciute Nov 9, 2021
8f1da3b
updating generate-windows to match new template
AgneLukoseviciute Nov 9, 2021
137ee46
no preview3 WAS.Foundation & .WinUI packages
AgneLukoseviciute Nov 9, 2021
6de7103
project sln tweak
AgneLukoseviciute Nov 9, 2021
806f905
allow explicit inclusion of mainpage and mainwindow.xaml
AgneLukoseviciute Nov 11, 2021
d96e46f
update template packagereferences
AgneLukoseviciute Nov 15, 2021
2607b40
no WAS props for template
AgneLukoseviciute Nov 16, 2021
ce2de21
^
AgneLukoseviciute Nov 16, 2021
ef0e0ff
template imports non-winmd props
AgneLukoseviciute Nov 16, 2021
94f4587
merge upstream main
AgneLukoseviciute Nov 16, 2021
1a9714c
^
AgneLukoseviciute Nov 16, 2021
bc26f2d
Merge branch 'main' of https://github.com/microsoft/react-native-wind…
AgneLukoseviciute Nov 16, 2021
0e97da7
move to 1.0.0 stable
AgneLukoseviciute Nov 17, 2021
2195ae7
merge w main
AgneLukoseviciute Nov 18, 2021
079a15e
resolve merge conflict
AgneLukoseviciute Nov 18, 2021
f8981c4
again
AgneLukoseviciute Nov 18, 2021
374b3ea
using WAS 1.0.0 template
AgneLukoseviciute Nov 18, 2021
fbaeac0
1.0.0 building
AgneLukoseviciute Nov 18, 2021
8c1a11b
format
AgneLukoseviciute Nov 18, 2021
de8ce69
refactor
AgneLukoseviciute Nov 19, 2021
29f6acc
include earlier changes
AgneLukoseviciute Nov 19, 2021
505a192
use windows.yml
AgneLukoseviciute Nov 19, 2021
52d1453
cli
AgneLukoseviciute Nov 19, 2021
98f7a83
cli-init update
AgneLukoseviciute Nov 19, 2021
0b6c270
^
AgneLukoseviciute Nov 19, 2021
0339769
rename
AgneLukoseviciute Nov 19, 2021
953e73b
Update .ado/templates/react-native-init.yml
AgneLukoseviciute Nov 19, 2021
ca6c687
more renaming
AgneLukoseviciute Nov 19, 2021
9705d5f
Merge branch 'WAS-1.0.preview3' of https://github.com/AgneLukoseviciu…
AgneLukoseviciute Nov 19, 2021
a056ccf
Merge branch 'WAS-1.0.preview3' of https://github.com/AgneLukoseviciu…
AgneLukoseviciute Nov 19, 2021
21394b0
Merge branch 'WAS-1.0.preview3' of https://github.com/AgneLukoseviciu…
AgneLukoseviciute Nov 19, 2021
9f396ea
renames
AgneLukoseviciute Nov 19, 2021
af925ed
edits & disable winui3 playground
AgneLukoseviciute Nov 22, 2021
12b1aca
address feedback
AgneLukoseviciute Nov 22, 2021
c37f9ce
readme fix
AgneLukoseviciute Nov 22, 2021
2047563
remove separate winui.props file
AgneLukoseviciute Nov 23, 2021
88ce7c3
don't need .winui package
AgneLukoseviciute Nov 23, 2021
2616027
template uses shared assets
AgneLukoseviciute Nov 23, 2021
f570308
merge commit
AgneLukoseviciute Jan 4, 2022
abe5fec
lint and snapshot edit
AgneLukoseviciute Jan 4, 2022
cdeb9fd
separate props file for WAS template app
AgneLukoseviciute Jan 4, 2022
26b0533
system->dispatching namespace rename
AgneLukoseviciute Jan 5, 2022
bdcb2eb
isRNWAppProject() refactor
AgneLukoseviciute Jan 6, 2022
11b77ce
moved to packagereference
AgneLukoseviciute Jan 6, 2022
321e662
trying nuget compatibility workaround
AgneLukoseviciute Jan 6, 2022
e7a40da
^
AgneLukoseviciute Jan 6, 2022
95f6f0b
updates for package reference
AgneLukoseviciute Jan 24, 2022
c281329
Merge branch 'main' into WAS-1.0.preview3
AgneLukoseviciute Jan 24, 2022
258dc29
merge main
AgneLukoseviciute Feb 3, 2022
a1fe765
Merge branch 'main' into WAS-1.0.preview3
AgneLukoseviciute Feb 8, 2022
b20082c
Remove static dependency on WinAppSDK
JunielKatarn Feb 8, 2022
3c743ac
merge
AgneLukoseviciute Feb 8, 2022
85ba9d8
lint
AgneLukoseviciute Feb 8, 2022
4ac832e
target 19041
AgneLukoseviciute Feb 8, 2022
fdbb92c
revert ^ and upgrade SDK.NET.ref version
AgneLukoseviciute Feb 9, 2022
917e92b
Merge branch 'main' into WAS-1.0.preview3
AgneLukoseviciute Feb 9, 2022
57f5a7a
target 18362
AgneLukoseviciute Feb 11, 2022
9c4d285
Merge branch 'WAS-1.0.preview3' of https://github.com/AgneLukoseviciu…
AgneLukoseviciute Feb 11, 2022
95715fe
cleanup
AgneLukoseviciute Feb 11, 2022
7cae356
Merge branch 'main' into WAS-1.0.preview3
AgneLukoseviciute Mar 7, 2022
f937eca
vclibs workaround + template update
AgneLukoseviciute Mar 10, 2022
367f95e
launchSettings update
AgneLukoseviciute Mar 11, 2022
22d1de6
Merge branch 'WAS-1.0.preview3' of https://github.com/AgneLukoseviciu…
AgneLukoseviciute Mar 11, 2022
a705cd0
addressing feedback
AgneLukoseviciute Mar 17, 2022
e9b1a80
rm winui3 logic from uwp templates
AgneLukoseviciute Mar 17, 2022
dc9ac06
reverting change in cli-init
AgneLukoseviciute Mar 17, 2022
e502f36
updated logic for cli project file discovery
AgneLukoseviciute Mar 18, 2022
7bb9827
Merge branch 'WAS-1.0.preview3' of https://github.com/AgneLukoseviciu…
AgneLukoseviciute Mar 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 29 additions & 19 deletions .ado/jobs/cli-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ parameters:
type: object
- name: buildNuGetOnly
type: boolean
- name: buildWinAppSDKOnly
type: boolean
- name: buildMatrix
type: object
default:
Expand Down Expand Up @@ -50,18 +52,20 @@ parameters:
platform: x86
projectType: lib
additionalRunArguments: --no-autolink --no-deploy
- Name: X86DebugCppWinUI3
language: cpp
configuration: Debug
platform: x86
projectType: app
additionalInitArguments: --useWinUI3 true
- Name: X86DebugCsWinUI3
# #8132 Support for C++ WinAppSDK apps
# - Name: X86DebugCppWinUI3
# language: cpp
# configuration: Debug
# platform: x86
# projectType: app
# additionalInitArguments: --useWinUI3 true
- Name: X64DebugCsWinUI3
language: cs
configuration: Debug
platform: x86
platform: x64
projectType: app
additionalInitArguments: --useWinUI3 true
additionalInitArguments: --useWinUI3 true --nuGetTestFeed $(System.DefaultWorkingDirectory)\NuGetTestFeed
useWinAppSDK: true
- Name: X86DebugCppHermes
language: cpp
configuration: Debug
Expand Down Expand Up @@ -145,18 +149,20 @@ parameters:
platform: x86
projectType: lib
additionalRunArguments: --no-autolink --no-deploy
- Name: X86DebugCppWinUI3
language: cpp
configuration: Debug
platform: x86
projectType: app
additionalInitArguments: --useWinUI3 true
- Name: X86DebugCsWinUI3
# #8132 Support for C++ WinAppSDK apps
# - Name: X86DebugCppWinUI3
# language: cpp
# configuration: Debug
# platform: x86
# projectType: app
# additionalInitArguments: --useWinUI3 true
- Name: X64DebugCsWinUI3
language: cs
configuration: Debug
platform: x86
platform: x64
projectType: app
additionalInitArguments: --useWinUI3 true
useWinAppSDK: true
- Name: X86DebugCppHermes
language: cpp
configuration: Debug
Expand Down Expand Up @@ -296,14 +302,18 @@ jobs:
- ${{ each config in parameters.buildMatrix }}:
- ${{ if eq(config.BuildEnvironment, parameters.buildEnvironment) }}:
- ${{ each matrix in config.Matrix }}:
- ${{ if eq(coalesce(matrix.useNuGet, false), parameters.buildNuGetOnly) }}:
- ${{ if and(eq(coalesce(matrix.useNuGet, false), parameters.buildNuGetOnly), eq(coalesce(matrix.useWinAppSDK, false), parameters.buildWinAppSDKOnly))}}:
AgneLukoseviciute marked this conversation as resolved.
Show resolved Hide resolved
- job: CliInit${{ matrix.Name }}
displayName: Verify Cli ${{ matrix.Name }}

${{ if eq(matrix.useNuGet, true) }}:
dependsOn:
- UniversalBuild${{ matrix.platform }}Release

${{ if eq(matrix.useWinAppSDK, true) }}:
dependsOn:
- WinAppSDKX64Release

variables: [template: ../variables/windows.yml]

${{ if eq(matrix.lowResource, true) }}:
Expand Down Expand Up @@ -336,4 +346,4 @@ jobs:
additionalRunArguments: ${{ matrix.additionalRunArguments }}
runWack: ${{ coalesce(matrix.runWack, false) }}
buildEnvironment: ${{ parameters.buildEnvironment }}
useNuGet: ${{ coalesce(matrix.useNuGet, false) }}
useNuGet: ${{ coalesce(matrix.useNuGet, false) }}
24 changes: 13 additions & 11 deletions .ado/jobs/playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ parameters:
BuildConfiguration: Release
BuildPlatform: x64
SolutionFile: Playground-Win32.sln
- Name: X86DebugWinUI3
BuildConfiguration: Debug
BuildPlatform: x86
SolutionFile: Playground.sln
BuildWinUI3: true
# Disabling until WinAppSDK is working e2e
# - Name: X86DebugWinUI3
# BuildConfiguration: Debug
# BuildPlatform: x86
# SolutionFile: Playground.sln
# BuildWinUI3: true
- BuildEnvironment: Continuous
Matrix:
- Name: X86DebugUniversal
Expand All @@ -54,12 +55,13 @@ parameters:
BuildConfiguration: Release
BuildPlatform: x64
SolutionFile: Playground-Win32.sln
- Name: X86DebugWinUI3
BuildConfiguration: Debug
BuildPlatform: x86
SolutionFile: Playground.sln
BuildWinUI3: true
UploadAppx: true
# Disabling until WinAppSDK is working e2e
# - Name: X86DebugWinUI3
# BuildConfiguration: Debug
# BuildPlatform: x86
# SolutionFile: Playground.sln
# BuildWinUI3: true
# UploadAppx: true

jobs:
- ${{ each config in parameters.buildMatrix }}:
Expand Down
23 changes: 11 additions & 12 deletions .ado/jobs/project-reunion.yml → .ado/jobs/windowsappsdk.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
parameters:
- name: buildEnvironment
type: string
default : PullRequest
default: PullRequest
values:
- PullRequest
- Continuous
Expand All @@ -25,8 +25,8 @@ jobs:
- ${{ each config in parameters.buildMatrix }}:
- ${{ if eq(config.BuildEnvironment, parameters.buildEnvironment) }}:
- ${{ each matrix in config.Matrix }}:
- job: Reunion${{ matrix.Name }}
displayName: Project Reunion ${{ matrix.Name }}
- job: WinAppSDK${{ matrix.Name }}
displayName: Windows App SDK ${{ matrix.Name }}

variables: [template: ../variables/windows.yml]

Expand All @@ -50,7 +50,7 @@ jobs:
- template: ../templates/msbuild-sln.yml
parameters:
solutionDir: vnext
solutionName: Microsoft.ReactNative.ProjectReunion.sln
solutionName: Microsoft.ReactNative.WindowsAppSDK.sln
buildPlatform: ${{ matrix.BuildPlatform }}
buildConfiguration: ${{ matrix.BuildConfiguration}}
msbuildArguments: /p:UseWinUI3=true
Expand All @@ -61,24 +61,23 @@ jobs:

- template: ../templates/publish-build-artifacts.yml
parameters:
artifactName: ProjectReunion
artifactName: WindowsAppSDK
buildPlatform: ${{ matrix.BuildPlatform }}
buildConfiguration: ${{ matrix.BuildConfiguration}}
contents: |
Microsoft.ReactNative\**
Microsoft.ReactNative.ProjectReunion\**

Microsoft.ReactNative.WindowsAppSDK\**
- template: ../templates/prep-and-pack-nuget.yml
parameters:
artifactName: ProjectReunion
packMicrosoftReactNativeProjectReunion: true
artifactName: WindowsAppSDK
packMicrosoftReactNativeWindowsAppSDK: true
slices:
- platform: x64
configuration: Release

- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: Project Reunion NuGet"
displayName: "Publish Artifact: Windows App SDK NuGet"
inputs:
artifactName: ReunionNuGet
pathToPublish: $(Build.SourcesDirectory)/NugetRootFinal/Microsoft.ReactNative.ProjectReunion.0.0.1-pr.nupkg
artifactName: WinAppSDKNuGet
pathToPublish: $(Build.SourcesDirectory)/NugetRootFinal/Microsoft.ReactNative.WindowsAppSDK.0.0.1-pr.nupkg
parallel: true
18 changes: 9 additions & 9 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ jobs:
SearchPattern: vnext/target/**/*.pdb
SymbolServerType: TeamServices

- job: RnwNativeBuildReunion
displayName: Build Reunion
- job: RnwNativeBuildWinAppSDK
displayName: Build WinAppSDK
dependsOn: RnwNpmPublish
strategy:
matrix:
Expand All @@ -241,7 +241,7 @@ jobs:
- template: templates/msbuild-sln.yml
parameters:
solutionDir: vnext
solutionName: Microsoft.ReactNative.ProjectReunion.sln
solutionName: Microsoft.ReactNative.WindowsAppSDK.sln
buildPlatform: $(BuildPlatform)
buildConfiguration: $(BuildConfiguration)
msbuildArguments:
Expand All @@ -250,12 +250,12 @@ jobs:

- template: templates/publish-build-artifacts.yml
parameters:
artifactName: Reunion
artifactName: WindowsAppSDK
buildPlatform: $(BuildPlatform)
buildConfiguration: $(BuildConfiguration)
contents: |
Microsoft.ReactNative\**
Microsoft.ReactNative.ProjectReunion\**
Microsoft.ReactNative.WindowsAppSDK\**

- template: templates/component-governance.yml

Expand All @@ -271,7 +271,7 @@ jobs:
- RnwNpmPublish
- RnwNativeBuildDesktop
- RnwNativeBuildUniversal
- RnwNativeBuildReunion
- RnwNativeBuildWinAppSDK
displayName: Sign Binaries and Publish NuGet
pool: ${{ parameters.AgentPool.Medium }}

Expand Down Expand Up @@ -338,11 +338,11 @@ jobs:

- template: templates/prep-and-pack-nuget.yml
parameters:
artifactName: Reunion
artifactName: WindowsAppSDK
publishCommitId: $(publishCommitId)
npmVersion: $(npmVersion)
nugetroot: $(System.DefaultWorkingDirectory)\Reunion
packMicrosoftReactNativeProjectReunion: true
nugetroot: $(System.DefaultWorkingDirectory)\WindowsAppSDK
packMicrosoftReactNativeWindowsAppSDK: true
${{ if or(eq(variables['EnableCodesign'], 'true'), endsWith(variables['Build.SourceBranchName'], '-stable')) }}: # Sign if EnableCodeSign or on *-stable release builds
signMicrosoft: true
slices:
Expand Down
4 changes: 3 additions & 1 deletion .ado/stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ stages:
parameters:
AgentPool: ${{ parameters.AgentPool }}

- template: jobs/project-reunion.yml
- template: jobs/windowsappsdk.yml
parameters:
buildEnvironment: ${{ parameters.buildEnvironment }}
AgentPool: ${{ parameters.AgentPool }}
Expand All @@ -44,6 +44,7 @@ stages:
buildEnvironment: ${{ parameters.buildEnvironment }}
AgentPool: ${{ parameters.AgentPool }}
buildNuGetOnly: true
buildWinAppSDKOnly: true

- stage: IntegrationTests
displayName: Tests 🧪
Expand Down Expand Up @@ -90,3 +91,4 @@ stages:
buildEnvironment: ${{ parameters.buildEnvironment }}
AgentPool: ${{ parameters.AgentPool }}
buildNuGetOnly: false
buildWinAppSDKOnly: false
10 changes: 5 additions & 5 deletions .ado/templates/prep-and-pack-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ parameters:
- name: packMicrosoftReactNativeManagedCodeGen
type: boolean
default: false
- name: packMicrosoftReactNativeProjectReunion
- name: packMicrosoftReactNativeWindowsAppSDK
type: boolean
default: false

Expand Down Expand Up @@ -80,7 +80,7 @@ steps:
filePath: vnext/Scripts/Tfs/Layout-Desktop-Headers.ps1
arguments: -TargetRoot ${{parameters.nugetroot}}

- ${{ if or(eq(parameters.packMicrosoftReactNative, true), eq(parameters.packMicrosoftReactNativeCxx, true), eq(parameters.packMicrosoftReactNativeManaged, true), eq(parameters.packMicrosoftReactNativeManagedCodeGen, true), eq(parameters.packMicrosoftReactNativeProjectReunion, false)) }}:
- ${{ if or(eq(parameters.packMicrosoftReactNative, true), eq(parameters.packMicrosoftReactNativeCxx, true), eq(parameters.packMicrosoftReactNativeManaged, true), eq(parameters.packMicrosoftReactNativeManagedCodeGen, true), eq(parameters.packMicrosoftReactNativeWindowsAppsDK, false)) }}:
- powershell: |
(Get-Content -Path ${{parameters.nugetroot}}\Microsoft.ReactNative.VersionCheck.targets) -replace '\$\$nuGetPackageVersion\$\$', '${{parameters.npmVersion}}' | Set-Content -Path ${{parameters.nugetroot}}\Microsoft.ReactNative.VersionCheck.targets
displayName: Patch version check file with version ${{parameters.npmVersion}}
Expand Down Expand Up @@ -153,11 +153,11 @@ steps:
codesignBinaries: ${{ parameters.signMicrosoft }}
codesignNuget: ${{ parameters.signMicrosoft }}

- ${{ if eq(parameters.packMicrosoftReactNativeProjectReunion, true) }}:
- ${{ if eq(parameters.packMicrosoftReactNativeWindowsAppsDK, true) }}:
- ${{ if containsValue(parameters.slices.*.configuration, 'Release') }}:
- template: prep-and-pack-single.yml
parameters:
outputPackage: Microsoft.ReactNative.ProjectReunion
outputPackage: Microsoft.ReactNative.WindowsAppSDK
slices: $(releaseSlices)
packageVersion: ${{parameters.npmVersion}}
codesignBinaries: ${{ parameters.signMicrosoft }}
Expand All @@ -166,5 +166,5 @@ steps:
binariesToSign: |
AgneLukoseviciute marked this conversation as resolved.
Show resolved Hide resolved
**/Microsoft.ReactNative.dll
**/Microsoft.ReactNative.winmd
**/Microsoft.ReactNative.ProjectReunion.dll
**/Microsoft.ReactNative.WindowsAppSDK.dll

19 changes: 16 additions & 3 deletions .ado/templates/react-native-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@ parameters:
- name: buildEnvironment
type: string
default: PullRequest
values:
- PullRequest
- Continuous
values:
- PullRequest
- Continuous
- name: useWinAppSDK
type: boolean
default: false

steps:
- powershell: start-process verdaccio.cmd -ArgumentList @('--config', './.ado/verdaccio/config.yaml')
Expand Down Expand Up @@ -74,6 +77,16 @@ steps:
- platform: ${{ parameters.platform }}
configuration: Release

- ${{ if eq(parameters.useWinAppSDK, true) }}:
- template: prep-and-pack-nuget.yml
parameters:
artifactName: ReactWindows
npmVersion: $(npmVersion)
packMicrosoftReactNativeWindowsAppSDK: true
slices:
- platform: x64
configuration: Release

- ${{ if eq(parameters.projectType, 'app') }}:
- script: |
npx --yes react-native@$(reactNativeDevDependency) init testcli --template react-native@$(reactNativeDevDependency)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update to Windows App SDK 0.8",
AgneLukoseviciute marked this conversation as resolved.
Show resolved Hide resolved
"packageName": "@react-native-windows/cli",
"email": "asklar@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update to Windows App SDK 0.8",
"packageName": "react-native-windows",
"email": "asklar@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update to Windows App SDK 0.8",
"packageName": "react-native-windows-init",
"email": "asklar@microsoft.com",
"dependentChangeType": "patch"
}
2 changes: 0 additions & 2 deletions packages/@react-native-windows/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ Options:
| `--buildLogDirectory` | Optional directory where MSBuild log files should be stored | [string] |
| `--info` | Dump environment information | [boolean] |
| `--direct-debugging` | Enable direct debugging on specified port | [number] |
| `--useWinUI3` | Targets WinUI 3.0 (Preview) instead of UWP XAML. | [boolean] |
| `--useHermes` | Use Hermes instead of Chakra as the JS engine (supported on 0.64+) | [boolean] |
AgneLukoseviciute marked this conversation as resolved.
Show resolved Hide resolved
| `--no-telemetry` | Disables sending telemetry that allows analysis of usage and failures of the react-native-windows CLI | [boolean] |
| `-h`, `--help` | output usage information | [boolean] |

Expand Down
Loading