Skip to content

Commit 0dca8aa

Browse files
chore(deps): bump Microsoft.WindowsAppSDK 2.0.0-preview2 → 2.0.1 (#138)
* chore(deps): bump Microsoft.WindowsAppSDK 2.0.0-preview2 → 2.0.1 The 2.0 release shipped 2026-02-13 (latest patch 2.0.1 on 2026-04-29); no need to stay on the preview. Updates the centralized WindowsAppSDKVersion in Directory.Build.props plus the literal version strings in README/CONTRIBUTING/SKILL/spec-022, the WinForms interop sample readme, the demo-script-tool system prompt, and the csproj template emitted by `dotnet run --project Reactor.Cli -- --create`. Drops the "preview" hedging from the prose. Pipeline `.csproj` files already use $(WindowsAppSDKVersion); the two `.dt` templates already float on 2.0.*. Verified by running unit (6793 passed) and selftest (648 passed) suites against 2.0.1. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * chore(deps): clarify Directory.Build.props comment The centralized property pins Microsoft.WindowsAppSDK (the umbrella), not just WinUI 3. Match the comment to what's actually being restored. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2d1bbb5 commit 0dca8aa

8 files changed

Lines changed: 15 additions & 15 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
2323
## Prerequisites
2424

2525
- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0)
26-
- Windows App SDK 2.0 (preview) — restored automatically from NuGet, no manual install required
26+
- Windows App SDK 2.0 — restored automatically from NuGet, no manual install required
2727
- Visual Studio 2022 (17.8+) or VS Code with C# Dev Kit
2828

29-
> **Package version:** All projects reference `Microsoft.WindowsAppSDK` **2.0.0-preview2** (public NuGet). The version is centralized in `Directory.Build.props` — update it there to change the version for every project at once.
29+
> **Package version:** All projects reference `Microsoft.WindowsAppSDK` **2.0.1** (public NuGet). The version is centralized in `Directory.Build.props` — update it there to change the version for every project at once.
3030
3131
---
3232

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
<!--
44
Centralize the Windows App SDK version so all projects stay in sync.
5-
This uses the public experimental WinUI 3 package from NuGet.
5+
This uses the public Microsoft.WindowsAppSDK package from NuGet.
66
To install: dotnet restore (NuGet will pull the package automatically).
77
-->
88
<PropertyGroup>
9-
<WindowsAppSDKVersion>2.0.0-preview2</WindowsAppSDKVersion>
9+
<WindowsAppSDKVersion>2.0.1</WindowsAppSDKVersion>
1010
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
1111
</PropertyGroup>
1212

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ If you're building line-of-business applications:
134134
### Prerequisites
135135

136136
- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0)
137-
- Windows App SDK 2.0 (preview) — pulled automatically on `dotnet restore`
137+
- Windows App SDK 2.0 — pulled automatically on `dotnet restore`
138138
- Visual Studio 2022 (17.8+) or just the .NET 8 CLI
139139

140-
> This project uses the **preview** Windows App SDK 2.0 (`Microsoft.WindowsAppSDK` 2.0.0-preview2). The package comes from NuGet — no manual SDK installer is needed.
140+
> This project uses Windows App SDK 2.0 (`Microsoft.WindowsAppSDK` 2.0.1). The package comes from NuGet — no manual SDK installer is needed.
141141
142142
### Create a new app
143143

@@ -157,7 +157,7 @@ Or create a `.csproj` manually:
157157
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
158158
</PropertyGroup>
159159
<ItemGroup>
160-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.0-preview2" />
160+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.1" />
161161
<ProjectReference Include="..\Reactor\Reactor.csproj" />
162162
</ItemGroup>
163163
</Project>

SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ re-renders automatically. No XAML. No data binding. No ViewModels.
4343
<WindowsPackageType>None</WindowsPackageType>
4444
</PropertyGroup>
4545
<ItemGroup>
46-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.0-preview2" />
46+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.1" />
4747
<ProjectReference Include="..\Reactor\Reactor.csproj" />
4848
</ItemGroup>
4949
</Project>
@@ -309,7 +309,7 @@ For lightweight demos, skip the `.csproj` entirely. Add a file-level header:
309309

310310
```csharp
311311
#:project ./src/Reactor
312-
#:package Microsoft.WindowsAppSDK@2.0.0-preview2
312+
#:package Microsoft.WindowsAppSDK@2.0.1
313313
#:property OutputType=WinExe
314314
#:property TargetFramework=net9.0-windows10.0.22621.0
315315
#:property UseWinUI=true

docs/specs/022-packaging-and-distribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ Consumer gets: framework, analyzers, source generator, and WinUI SDK (transitive
431431
- **Internal feed ownership.** Which Azure Artifacts organization hosts the P1 feed? Creating one takes ~a day plus approvals.
432432
- **Signing prerequisite for P1.** Does the chosen internal feed enforce signed packages? If yes, P1 needs ESRP too, not just P2.
433433
- **Package ID.** `Microsoft.UI.Reactor` assumes we stay in the `Microsoft.UI.*` namespace (see spec 018 for the namespace rename). If that namespace decision changes, the package ID follows.
434-
- **WinUI SDK version.** We currently pin `Microsoft.WindowsAppSDK` 2.0.0-preview2. Consumers who want a different WinUI version will conflict. Decide: float this transitively, or lock it and force consumers to match.
434+
- **WinUI SDK version.** We currently pin `Microsoft.WindowsAppSDK` 2.0.1. Consumers who want a different WinUI version will conflict. Decide: float this transitively, or lock it and force consumers to match.
435435
- **`mur` install-script trust boundary.** `iwr | iex` from GitHub Releases works for P1 but will concern P3 users. Document the signed-binary fallback (direct download + verify signature) before public launch.
436436

437437
## 14. Implementation Phases

samples/WinFormsInterop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static class Program
4040
<UseWinUI>true</UseWinUI>
4141
<WindowsPackageType>None</WindowsPackageType>
4242

43-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.0-preview2" />
43+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.1" />
4444
<ProjectReference Include="path\to\Reactor.Interop.WinForms.csproj" />
4545
<ProjectReference Include="path\to\Reactor.csproj" />
4646
```

samples/apps/demo-script-tool/App/Resources/SystemPrompt.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ properties. Examples:
2020

2121
```csharp
2222
#:project ../../src/Reactor
23-
#:package Microsoft.WindowsAppSDK@2.0.0-preview2
23+
#:package Microsoft.WindowsAppSDK@2.0.1
2424
#:property OutputType=WinExe
2525
#:property TargetFramework=net10.0-windows10.0.22621.0
2626
#:property UseWinUI=true
@@ -61,7 +61,7 @@ Minimum Reactor file-based-app shape:
6161

6262
```csharp
6363
#:project <relative-path-to>/src/Reactor
64-
#:package Microsoft.WindowsAppSDK@2.0.0-preview2
64+
#:package Microsoft.WindowsAppSDK@2.0.1
6565
#:property OutputType=WinExe
6666
#:property TargetFramework=net10.0-windows10.0.22621.0
6767
#:property UseWinUI=true
@@ -193,7 +193,7 @@ Common fixes:
193193
===CODE step-01.cs===
194194
```csharp
195195
#:project ./src/Reactor
196-
#:package Microsoft.WindowsAppSDK@2.0.0-preview2
196+
#:package Microsoft.WindowsAppSDK@2.0.1
197197
#:property OutputType=WinExe
198198
#:property TargetFramework=net10.0-windows10.0.22621.0
199199
#:property UseWinUI=true

src/Reactor.Cli/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ string GenerateCsproj() =>
196196
<WindowsSdkPackageVersion>10.0.22621.52</WindowsSdkPackageVersion>
197197
</PropertyGroup>
198198
<ItemGroup>
199-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.0-preview2" />
199+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.1" />
200200
</ItemGroup>
201201
<ItemGroup>
202202
<ProjectReference Include="..\Reactor\Reactor.csproj" />

0 commit comments

Comments
 (0)