Changing a value belonging to Resources.resw under Microsoft.Terminal.Control.Lib causes build to fail. #21870

Open
opened 2026-01-31 07:57:01 +00:00 by claunia · 0 comments
Owner

Originally created by @blitzRahul on GitHub (Jun 14, 2024).

Windows Terminal version

Development version

Windows build number

10.0.22631.3593

Other Software

No response

Steps to reproduce

  1. Open the 'OpenConsole' solution
  2. Run Cascadia Package (to make sure that everything is running fine); close the debugging session
  3. Edit a value in Resources.resw under Microsoft.Terminal.Control.Lib; save it
  4. Try to run the project again

Expected Behavior

The project should build and run.

Actual Behavior

It fails to build (almost always; however sometimes it just works fine).
Error:
Severity Code Description Project File Line Suppression State
Error APPX1111 Payload contains two or more files with the same destination path 'Microsoft.Terminal.Control\SearchBoxControl.xbf', but they are different sizes. Source files:
C:\development\WIN_TERMINAL\terminal\src\cascadia\TerminalControl\Generated Files\SearchBoxControl.xbf
C:\development\WIN_TERMINAL\terminal\bin\x64\Debug\Microsoft.Terminal.Control\Microsoft.Terminal.Control\SearchBoxControl.xbf CascadiaPackage C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.AppXPackage.Targets 1987

Screenshot 2024-06-14 234346

Originally created by @blitzRahul on GitHub (Jun 14, 2024). ### Windows Terminal version Development version ### Windows build number 10.0.22631.3593 ### Other Software _No response_ ### Steps to reproduce 1. Open the 'OpenConsole' solution 2. Run Cascadia Package (to make sure that everything is running fine); close the debugging session 3. Edit a value in Resources.resw under Microsoft.Terminal.Control.Lib; save it 4. Try to run the project again ### Expected Behavior The project should build and run. ### Actual Behavior It fails to build (almost always; however sometimes it just works fine). Error: Severity Code Description Project File Line Suppression State Error APPX1111 Payload contains two or more files with the same destination path 'Microsoft.Terminal.Control\SearchBoxControl.xbf', but they are different sizes. Source files: C:\development\WIN_TERMINAL\terminal\src\cascadia\TerminalControl\Generated Files\SearchBoxControl.xbf C:\development\WIN_TERMINAL\terminal\bin\x64\Debug\Microsoft.Terminal.Control\Microsoft.Terminal.Control\SearchBoxControl.xbf CascadiaPackage C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.AppXPackage.Targets 1987 ![Screenshot 2024-06-14 234346](https://github.com/microsoft/terminal/assets/104504393/0b1b50b3-8ecd-42af-b66b-55660da2906d)
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 07:57:01 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21870