You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build requirements in readme page only listed .net 8 sdk, but if I run OpenSolution.bat of individual component, it fails to generate the solution file and it prompt to install `.net 9 sdk.
Steps to reproduce
For example, run Labs-Windows\components\TransitionHelper\OpenSolution.bat, with only .net 8 sdk installed
See the error
PS D:\Labs-Windows\components\TransitionHelper> .\OpenSolution.bat
Setting enabled MultiTargets: wasm wasdk
Done. Please close and regenerate your solution. Do not commit these changes to the tooling repository.
Switching Uno to WinUI 3
Updated ..\..\tooling\ProjectHeads\App.Head.Uno.props
Updated ..\..\tooling\MultiTarget\PackageReferences\Uno.props
Updated ..\..\tooling\MultiTarget\WinUI.TargetVersion.props
Done. Please close and regenerate your solution. Do not commit these changes to the tooling repository.
Removing existing heads directory: D:\Labs-Windows\components\TransitionHelper\heads
Installing SingleComponent template
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'new' does not exist.
* You intended to execute a .NET SDK command:
A compatible .NET SDK was not found.
Requested SDK version: 9.0.101
global.json file: D:\Labs-Windows\global.json
Installed SDKs:
8.0.403 [C:\Program Files\dotnet\sdk]
Install the [9.0.101] .NET SDK or update [D:\Labs-Windows\global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Generating heads for TransitionHelper in D:\Labs-Windows\components\TransitionHelper\heads
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'new' does not exist.
* You intended to execute a .NET SDK command:
A compatible .NET SDK was not found.
Requested SDK version: 9.0.101
global.json file: D:\Labs-Windows\global.json
Installed SDKs:
8.0.403 [C:\Program Files\dotnet\sdk]
Install the [9.0.101] .NET SDK or update [D:\Labs-Windows\global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Uninstalling SingleComponent template
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'new' does not exist.
* You intended to execute a .NET SDK command:
A compatible .NET SDK was not found.
Requested SDK version: 9.0.101
global.json file: D:\Labs-Windows\global.json
Installed SDKs:
8.0.403 [C:\Program Files\dotnet\sdk]
Install the [9.0.101] .NET SDK or update [D:\Labs-Windows\global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'tool' does not exist.
* You intended to execute a .NET SDK command:
A compatible .NET SDK was not found.
Requested SDK version: 9.0.101
global.json file: D:\Labs-Windows\global.json
Installed SDKs:
8.0.403 [C:\Program Files\dotnet\sdk]
Install the [9.0.101] .NET SDK or update [D:\Labs-Windows\global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Generating solution for TransitionHelper in D:\Labs-Windows\components\TransitionHelper\TransitionHelper.sln
警告: No project head could be found at D:\Labs-Windows\components\TransitionHelper\heads\**\*Wasm.csproj for
MultiTarget wasm. Skipping.
警告: No project head could be found at D:\Labs-Windows\components\TransitionHelper\heads\**\*Wasdk.csproj for
MultiTarget wasdk. Skipping.
Running Command: dotnet tool run slngen -o D:\Labs-Windows\components\TransitionHelper\TransitionHelper.sln --folders true --collapsefolders true --ignoreMainProject --platform "Any CPU;x64;x86;ARM64" .\*\*.*proj D:\Labs-Windows\tooling\CommunityToolkit.App.Shared\**\*.*proj D:\Labs-Windows\tooling\CommunityToolkit.Tests.Shared\**\*.*proj D:\Labs-Windows\tooling\CommunityToolkit.Tooling.SampleGen\*.csproj D:\Labs-Windows\tooling\CommunityToolkit.Tooling.TestGen\*.csproj D:\Labs-Windows\tooling\CommunityToolkit.Tooling.XamlNamedPropertyRelay\*.csproj
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'tool' does not exist.
* You intended to execute a .NET SDK command:
A compatible .NET SDK was not found.
Requested SDK version: 9.0.101
global.json file: D:\Labs-Windows\global.json
Installed SDKs:
8.0.403 [C:\Program Files\dotnet\sdk]
Install the [9.0.101] .NET SDK or update [D:\Labs-Windows\global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Expected behavior
It should generate a solution
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
23H2
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, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered:
Describe the bug
The build requirements in readme page only listed
.net 8 sdk
, but if I runOpenSolution.bat
of individual component, it fails to generate the solution file and it prompt to install `.net 9 sdk.Steps to reproduce
Labs-Windows\components\TransitionHelper\OpenSolution.bat
, with only .net 8 sdk installedExpected behavior
It should generate a solution
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
23H2
App minimum and target SDK version
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, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered: