-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-hybridwebviewHybridWebView controlHybridWebView controli/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/windowsregressed-in-10-preview1s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
Referencing Microsoft.Identity.Client.Desktop.WinUI3 in a project with .net10 target results in build error
Could not copy the file ".nuget\packages\microsoft.maui.controls.core\10.0.10\lib\net10.0-windows10.0.19041\Microsoft.Maui\Handlers\HybridWebView\HybridWebView.js"
Steps to Reproduce
- Create a new maui project targeting .Net 10
- Add following nuget packages references.
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0-windows10.0.19041.0'">
<PackageReference Include="Microsoft.Identity.Client" Version="4.79.1" />
<PackageReference Include="Microsoft.Identity.Client.Desktop.WinUI3" Version="4.79.1"/>
</ItemGroup>
- Build the project.
Expected: Build successful.
Actual: Following errors
C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\arm64\Microsoft.Common.CurrentVersion.targets(5381,5): error MSB3030: Could not copy the file "C:\Users\***\.nuget\packages\microsoft.maui.controls.core\10.0.10\lib\net10.0-windows10.0.19041\Microsoft.Maui\Handlers\HybridWebView\HybridWebView.js" because it was not found.
C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\arm64\Microsoft.Common.CurrentVersion.targets(5381,5): error MSB3030: Could not copy the file "C:\Users\***\.nuget\packages\microsoft.maui.core\10.0.10\lib\net10.0-windows10.0.19041\Microsoft.Maui\Handlers\HybridWebView\HybridWebView.js" because it was not found.
Link to public reproduction project repository
No response
Version with bug
10.0.10
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.120 SR12
Affected platforms
Windows
Affected platform versions
Windows 19041
Did you find any workaround?
None.
Relevant log output
Metadata
Metadata
Assignees
Labels
area-controls-hybridwebviewHybridWebView controlHybridWebView controli/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/windowsregressed-in-10-preview1s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo