-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
bug 🐛Something isn't workingSomething isn't workingdev loop ➰For issues that impact the core dev-loop of building experimentsFor issues that impact the core dev-loop of building experimentssample app 🖼
Description
Describe the bug
Was setting up my new machine and ran into some errors trying to use the sub-module in a new place:

About the SourceRoot.ContainingRoot not found in SourceRoot items.
And the runtime pack for Microsoft.Windows.SDK.NET.Ref was not downloaded.
I tried running the WASM Labs head and ran into the same issue.
In the Head.WindowsAppSdk.props file here:
Tooling-Windows-Submodule/ProjectHeads/Head.WinAppSdk.props
Lines 1 to 4 in bbfd1eb
| <Project> | |
| <PropertyGroup> | |
| <OutputType>WinExe</OutputType> | |
| <TargetFramework>$(WinAppSdkTargetFramework.Split(';')[0])</TargetFramework> |
We do a split on the first TFM which is .NET 6 (not .NET 8), see:

Steps to reproduce
Clone Labs-Windows repo on a fresh machine with .NET 8, try and run WASM head.
Expected behavior
Should build with .NET 8 only installed.
Screenshots
No response
Code Platform
- UWP
- WinAppSDK / WinUI 3
- Web Assembly (WASM)
- Android
- iOS
- MacOS
- Linux / GTK
Windows Build Number
- Windows 10 1809 (Build 17763)
- Windows 10 1903 (Build 18362)
- Windows 10 1909 (Build 18363)
- Windows 10 2004 (Build 19041)
- Windows 10 20H2 (Build 19042)
- Windows 10 21H1 (Build 19043)
- Windows 11 21H2 (Build 22000)
- Other (specify)
Other Windows Build number
No response
App minimum and target SDK version
- Windows 10, version 1809 (Build 17763)
- Windows 10, version 1903 (Build 18362)
- Windows 10, version 1909 (Build 18363)
- Windows 10, version 2004 (Build 19041)
- Other (specify)
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, but only if others can assist.
Metadata
Metadata
Assignees
Labels
bug 🐛Something isn't workingSomething isn't workingdev loop ➰For issues that impact the core dev-loop of building experimentsFor issues that impact the core dev-loop of building experimentssample app 🖼
Type
Projects
Status
✅ Done