MUXControlsInnerLoop solution fails to build
See original GitHub issueDescribe the bug The MUXControls solution builds successfully, and the test app deploys and runs properly. However, the MUXControlsInnerLoop solution fails to build with the following errors:
1>\microsoft-ui-xaml\BuildOutput\Debug\x64\Microsoft.UI.Xaml\XamlMetadataProviderGenerated.cpp(424,1): error C2872: 'ElementFactoryGetArgs': ambiguous symbol
1>\microsoft-ui-xaml\BuildOutput\Debug\x64\Microsoft.UI.Xaml\XamlMetadataProviderGenerated.cpp(425,1): error C2872: 'ElementFactoryGetArgs': ambiguous symbol
1>\microsoft-ui-xaml\BuildOutput\Debug\x64\Microsoft.UI.Xaml\XamlMetadataProviderGenerated.cpp(432,1): error C2872: 'ElementFactoryGetArgs': ambiguous symbol
1>\microsoft-ui-xaml\BuildOutput\Debug\x64\Microsoft.UI.Xaml\XamlMetadataProviderGenerated.cpp(433,1): error C2872: 'ElementFactoryGetArgs': ambiguous symbol
1>\microsoft-ui-xaml\BuildOutput\Debug\x64\Microsoft.UI.Xaml\XamlMetadataProviderGenerated.cpp(461,1): error C2872: 'ElementFactoryRecycleArgs': ambiguous symbol
1>\microsoft-ui-xaml\BuildOutput\Debug\x64\Microsoft.UI.Xaml\XamlMetadataProviderGenerated.cpp(462,1): error C2872: 'ElementFactoryRecycleArgs': ambiguous symbol
1>\microsoft-ui-xaml\BuildOutput\Debug\x64\Microsoft.UI.Xaml\XamlMetadataProviderGenerated.cpp(469,1): error C2872: 'ElementFactoryRecycleArgs': ambiguous symbol
1>\microsoft-ui-xaml\BuildOutput\Debug\x64\Microsoft.UI.Xaml\XamlMetadataProviderGenerated.cpp(470,1): error C2872: 'ElementFactoryRecycleArgs': ambiguous symbol
Steps to reproduce the bug
- Clone this repo (commit 865e4fcc00e8649baeaec1ba7daeca398671aa72)
- Open the MUXControls solution and build it.
- Deploy the MUXControlsTestApp project.
- Open the MUXControlsInnerLoop solution and build it. Observe that it fails.
Expected behavior MUXControlsInnerLoop should build successfully on a fresh clone if the MUXControls solution builds successfully.
Version Info Commit 865e4fcc00e8649baeaec1ba7daeca398671aa72
Windows 10 version | Saw the problem? |
---|---|
Insider Build (xxxxx) | |
May 2020 Update (19041) | Yes |
November 2019 Update (18363) | |
May 2019 Update (18362) | |
October 2018 Update (17763) | |
April 2018 Update (17134) | |
Fall Creators Update (16299) | |
Creators Update (15063) |
Device form factor | Saw the problem? |
---|---|
Desktop | Yes |
Xbox | N/A |
Surface Hub | N/A |
IoT | N/A |
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Mux Shield (Multiplexer) Array Compilation Issue
I am using their Analog In example code, but want to modify it so the logic supports only 8 inputs instead of the...
Read more >Control & Simulation Loop Failed to Compile - NI Community
I am trying to create two PI controller loops using the control & simulation add on in Labview and when i try to...
Read more >SystemVerilog 'if' statement inside always_comb 'not purely ...
When I compile I get the following error: Error (10166): SystemVerilog RTL Coding error at fifo_interface.sv(80): always_comb construct does not ...
Read more >Control & Simulation Loop failed to compile - NI Community
I have a problem with a Control & Simulation Loop program (attached) that just doesn't compile & run. I believe that the problem...
Read more >Monitor THEOplayer (Web)
This guide walks through integration with THEOplayer to collect video performance metrics with Mux Data.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Deleting the BuildOutput folder fixes both solutions! It would be great if the docs included this, at least until both solutions play nicer together. I’ll open a PR to add this to the developer guide.
I agree that the documentation should be improved here. The MUXControlsInnerLoop.sln is a little bit of a hack. The issue is that it is identical to MUXControls.sln, just with various pieces optionally removed. So they share the same build output locations (including objs, temporary files, generated files, etc.). So before using MUXControlsInnerLoop.sln, it definitely makes sense to fully clean the repo (e.g. with ‘git clean -dfx’, or just by deleting the BuildOutput directory.