-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Building WinUI app under .NET 6 results in build error #7452
Comments
Also missing is |
@rainersigwald - do you know why msbuild/src/Tasks/Microsoft.Build.Tasks.csproj Lines 545 to 602 in 3ade642
|
@eerhardt No particularly good reason. We plan to fix for 17.3. (The reason is "it wasn't needed until now and there was some roadblock porting it to .NET Core pre-1.0 so we just didn't".) |
Hopefully 🤞 this is the last change needed for WinUI (and Maui Windows) apps to work correctly with |
It would be very welcome if this error would be investigated. |
@sude22 can you please file a new issue describing your problems in that scenario when using |
Build some tasks for .NET 6 that were previously .NET Framework only (but are really Windows-only, and should work fine in `dotnet build`). Fixes #7452
Issue Description
Building a WinUI app under .NET 6 results in the following error
Steps to Reproduce
Its difficult to reproduce because
dotnet build
support for WinUI is currently in progress. However the attached binlog should contain the required data.msbuild.binlog.zip
Expected Behavior
GetInstalledSDKLocations
should be available under .NET 6Actual Behavior
The following build error
Analysis
It looks like this Task was removed from the
Core
build ofMicrosoft.Build.Tasks.Core
.Versions & Configurations
dotnet --version
6.0.201
The text was updated successfully, but these errors were encountered: