[Bug] Getting build error when configured with `UseMauiCommunityToolkit()` and targeting the Windows platform
See original GitHub issueDescription
Getting the below-mentioned error when configured with UseMauiCommunityToolkit() initialization and building for the Windows target
Stack Trace
Here is the Build Output log:
Build started… 1>------ Build started: Project: TestApp, Configuration: Debug Any CPU ------ 1>TestApp -> E:\Tasks\Projects\Maui\TestApp\TestApp\bin\Debug\net6.0-windows10.0.19041\win10-x64\TestApp.dll 1>WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry. 1>WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI222: 0x80073b0f - Unspecified error occurred. 1>Done building project “TestApp.csproj” – FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Link to Reproduction Sample
Steps to Reproduce
- Create a new .NET MAUI App (Preview 12/Preview 13) and add a reference to the latest release of CommunityToolkit.Maui NuGet package (1.0.0-pre6)
- Configure the
UseMauiCommunityToolkit()
initialization method call in theMauiProgram.cs
- Switch the Target platform to Windows (in supported VS2022 Preview IDE) and build the project
- Ends up in the build error
Expected Behavior
Build should succeed without any error.
Actual Behavior
Ends up in build error.
Basic Information
- Version with issue: .NET MAUI Preview 12 or higher and CommunityToolkit.Maui 1.0.0-pre6
- Last known good version: NA
- IDE: VS2022 17.1 Preview 3.0 or later
- Platform Target Frameworks:
- iOS: NA
- Android: NA
- UWP: net6.0-windows10.0.19041
- Android Support Library Version:
- Nuget Packages:
- Affected Devices:
Workaround
None found so far
Reproduction imagery
Issue Analytics
- State:
- Created 2 years ago
- Comments:11
Top GitHub Comments
It will be fixed with pre7
🤦♂️