Can't build the repository
See original GitHub issueI’m on Visual Studio 2022 P2.1
Here is the build output I get for MUXControls.sln
:
Build started...
1>------ Build started: Project: Microsoft.UI.Xaml, Configuration: Debug Win32 ------
2>------ Build started: Project: AppTestAutomationHelpers, Configuration: Debug Win32 ------
3>------ Build started: Project: Microsoft.UI.Xaml.Design, Configuration: Debug x86 ------
3>C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2203,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.Windows.Design.Extensibility, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=x86". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
3>C:\Users\PC\Desktop\microsoft-ui-xaml\dev\Microsoft.UI.Xaml.Design\Properties\AssemblyInfo.cs(21,12,21,27): error CS0246: The type or namespace name 'ProvideMetadataAttribute' could not be found (are you missing a using directive or an assembly reference?)
3>C:\Users\PC\Desktop\microsoft-ui-xaml\dev\Microsoft.UI.Xaml.Design\Properties\AssemblyInfo.cs(21,12,21,27): error CS0246: The type or namespace name 'ProvideMetadata' could not be found (are you missing a using directive or an assembly reference?)
3>C:\Users\PC\Desktop\microsoft-ui-xaml\dev\Microsoft.UI.Xaml.Design\Properties\AssemblyInfo.cs(5,17,5,24): error CS0234: The type or namespace name 'Windows' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
3>C:\Users\PC\Desktop\microsoft-ui-xaml\dev\Microsoft.UI.Xaml.Design\RegisterMetadata.cs(4,17,4,24): error CS0234: The type or namespace name 'Windows' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
3>C:\Users\PC\Desktop\microsoft-ui-xaml\dev\Microsoft.UI.Xaml.Design\RegisterMetadata.cs(8,30,8,52): error CS0246: The type or namespace name 'IProvideAttributeTable' could not be found (are you missing a using directive or an assembly reference?)
3>C:\Users\PC\Desktop\microsoft-ui-xaml\dev\Microsoft.UI.Xaml.Design\RegisterMetadata.cs(10,16,10,30): error CS0246: The type or namespace name 'AttributeTable' could not be found (are you missing a using directive or an assembly reference?)
2>MIDLRT Processing C:\Users\PC\Desktop\microsoft-ui-xaml\test\testinfra\AppTestAutomationHelpers\IdleSynchronizer.idl
2>IdleSynchronizer.idl
2>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt\winrtbase.idl
2>winrtbase.idl
2>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt\midlbase.idl
2>midlbase.idl
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ai.machinelearning.machinelearningcontract\3.0.0.0\windows.ai.machinelearning.machinelearningcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ai.machinelearning.preview.machinelearningpreviewcontract\2.0.0.0\windows.ai.machinelearning.preview.machinelearningpreviewcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.background.callsbackgroundcontract\2.0.0.0\windows.applicationmodel.calls.background.callsbackgroundcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.callsphonecontract\5.0.0.0\windows.applicationmodel.calls.callsphonecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.callsvoipcontract\4.0.0.0\windows.applicationmodel.calls.callsvoipcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.communicationblocking.communicationblockingcontract\2.0.0.0\windows.applicationmodel.communicationblocking.communicationblockingcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.socialinfo.socialinfocontract\2.0.0.0\windows.applicationmodel.socialinfo.socialinfocontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.startuptaskcontract\3.0.0.0\windows.applicationmodel.startuptaskcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.custom.customdevicecontract\1.0.0.0\windows.devices.custom.customdevicecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.deviceslowlevelcontract\3.0.0.0\windows.devices.deviceslowlevelcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.printers.printerscontract\1.0.0.0\windows.devices.printers.printerscontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.smartcards.smartcardbackgroundtriggercontract\3.0.0.0\windows.devices.smartcards.smartcardbackgroundtriggercontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.smartcards.smartcardemulatorcontract\6.0.0.0\windows.devices.smartcards.smartcardemulatorcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.foundation.foundationcontract\4.0.0.0\windows.foundation.foundationcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.foundation.universalapicontract\10.0.0.0\windows.foundation.universalapicontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.gaming.xboxlive.storageapicontract\1.0.0.0\windows.gaming.xboxlive.storageapicontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.graphics.printing3d.printing3dcontract\4.0.0.0\windows.graphics.printing3d.printing3dcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.networking.connectivity.wwancontract\2.0.0.0\windows.networking.connectivity.wwancontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.networking.sockets.controlchanneltriggercontract\3.0.0.0\windows.networking.sockets.controlchanneltriggercontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.security.isolation.isolatedwindowsenvironmentcontract\2.0.0.0\windows.security.isolation.isolatedwindowsenvironmentcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.maps.guidancecontract\3.0.0.0\windows.services.maps.guidancecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.maps.localsearchcontract\4.0.0.0\windows.services.maps.localsearchcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.store.storecontract\4.0.0.0\windows.services.store.storecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.targetedcontent.targetedcontentcontract\1.0.0.0\windows.services.targetedcontent.targetedcontentcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.storage.provider.cloudfilescontract\4.0.0.0\windows.storage.provider.cloudfilescontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.profilehardwaretokencontract\1.0.0.0\windows.system.profile.profilehardwaretokencontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.profilesharedmodecontract\2.0.0.0\windows.system.profile.profilesharedmodecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.systemmanufacturers.systemmanufacturerscontract\3.0.0.0\windows.system.profile.systemmanufacturers.systemmanufacturerscontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.systemmanagementcontract\7.0.0.0\windows.system.systemmanagementcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ui.viewmanagement.viewmanagementviewscalingcontract\1.0.0.0\windows.ui.viewmanagement.viewmanagementviewscalingcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ui.xaml.core.direct.xamldirectcontract\2.0.0.0\windows.ui.xaml.core.direct.xamldirectcontract.winmd
2>MIDLRT Processing C:\Users\PC\Desktop\microsoft-ui-xaml\test\testinfra\AppTestAutomationHelpers\TestAutomationHelpersPanel.idl
2>TestAutomationHelpersPanel.idl
2>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt\winrtbase.idl
2>winrtbase.idl
2>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt\midlbase.idl
2>midlbase.idl
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ai.machinelearning.machinelearningcontract\3.0.0.0\windows.ai.machinelearning.machinelearningcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ai.machinelearning.preview.machinelearningpreviewcontract\2.0.0.0\windows.ai.machinelearning.preview.machinelearningpreviewcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.background.callsbackgroundcontract\2.0.0.0\windows.applicationmodel.calls.background.callsbackgroundcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.callsphonecontract\5.0.0.0\windows.applicationmodel.calls.callsphonecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.callsvoipcontract\4.0.0.0\windows.applicationmodel.calls.callsvoipcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.communicationblocking.communicationblockingcontract\2.0.0.0\windows.applicationmodel.communicationblocking.communicationblockingcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.socialinfo.socialinfocontract\2.0.0.0\windows.applicationmodel.socialinfo.socialinfocontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.startuptaskcontract\3.0.0.0\windows.applicationmodel.startuptaskcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.custom.customdevicecontract\1.0.0.0\windows.devices.custom.customdevicecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.deviceslowlevelcontract\3.0.0.0\windows.devices.deviceslowlevelcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.printers.printerscontract\1.0.0.0\windows.devices.printers.printerscontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.smartcards.smartcardbackgroundtriggercontract\3.0.0.0\windows.devices.smartcards.smartcardbackgroundtriggercontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.smartcards.smartcardemulatorcontract\6.0.0.0\windows.devices.smartcards.smartcardemulatorcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.foundation.foundationcontract\4.0.0.0\windows.foundation.foundationcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.foundation.universalapicontract\10.0.0.0\windows.foundation.universalapicontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.gaming.xboxlive.storageapicontract\1.0.0.0\windows.gaming.xboxlive.storageapicontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.graphics.printing3d.printing3dcontract\4.0.0.0\windows.graphics.printing3d.printing3dcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.networking.connectivity.wwancontract\2.0.0.0\windows.networking.connectivity.wwancontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.networking.sockets.controlchanneltriggercontract\3.0.0.0\windows.networking.sockets.controlchanneltriggercontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.security.isolation.isolatedwindowsenvironmentcontract\2.0.0.0\windows.security.isolation.isolatedwindowsenvironmentcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.maps.guidancecontract\3.0.0.0\windows.services.maps.guidancecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.maps.localsearchcontract\4.0.0.0\windows.services.maps.localsearchcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.store.storecontract\4.0.0.0\windows.services.store.storecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.targetedcontent.targetedcontentcontract\1.0.0.0\windows.services.targetedcontent.targetedcontentcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.storage.provider.cloudfilescontract\4.0.0.0\windows.storage.provider.cloudfilescontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.profilehardwaretokencontract\1.0.0.0\windows.system.profile.profilehardwaretokencontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.profilesharedmodecontract\2.0.0.0\windows.system.profile.profilesharedmodecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.systemmanufacturers.systemmanufacturerscontract\3.0.0.0\windows.system.profile.systemmanufacturers.systemmanufacturerscontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.systemmanagementcontract\7.0.0.0\windows.system.systemmanagementcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ui.viewmanagement.viewmanagementviewscalingcontract\1.0.0.0\windows.ui.viewmanagement.viewmanagementviewscalingcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ui.xaml.core.direct.xamldirectcontract\2.0.0.0\windows.ui.xaml.core.direct.xamldirectcontract.winmd
2>MIDLRT Processing C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Intermediates\Win32\AppTestAutomationHelpers\obj\Generated Files\XamlMetaDataProvider.idl
2>XamlMetaDataProvider.idl
2>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt\winrtbase.idl
2>winrtbase.idl
2>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt\midlbase.idl
2>midlbase.idl
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ai.machinelearning.machinelearningcontract\3.0.0.0\windows.ai.machinelearning.machinelearningcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ai.machinelearning.preview.machinelearningpreviewcontract\2.0.0.0\windows.ai.machinelearning.preview.machinelearningpreviewcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.background.callsbackgroundcontract\2.0.0.0\windows.applicationmodel.calls.background.callsbackgroundcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.callsphonecontract\5.0.0.0\windows.applicationmodel.calls.callsphonecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.callsvoipcontract\4.0.0.0\windows.applicationmodel.calls.callsvoipcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.communicationblocking.communicationblockingcontract\2.0.0.0\windows.applicationmodel.communicationblocking.communicationblockingcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.socialinfo.socialinfocontract\2.0.0.0\windows.applicationmodel.socialinfo.socialinfocontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.startuptaskcontract\3.0.0.0\windows.applicationmodel.startuptaskcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.custom.customdevicecontract\1.0.0.0\windows.devices.custom.customdevicecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.deviceslowlevelcontract\3.0.0.0\windows.devices.deviceslowlevelcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.printers.printerscontract\1.0.0.0\windows.devices.printers.printerscontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.smartcards.smartcardbackgroundtriggercontract\3.0.0.0\windows.devices.smartcards.smartcardbackgroundtriggercontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.smartcards.smartcardemulatorcontract\6.0.0.0\windows.devices.smartcards.smartcardemulatorcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.foundation.foundationcontract\4.0.0.0\windows.foundation.foundationcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.foundation.universalapicontract\10.0.0.0\windows.foundation.universalapicontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.gaming.xboxlive.storageapicontract\1.0.0.0\windows.gaming.xboxlive.storageapicontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.graphics.printing3d.printing3dcontract\4.0.0.0\windows.graphics.printing3d.printing3dcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.networking.connectivity.wwancontract\2.0.0.0\windows.networking.connectivity.wwancontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.networking.sockets.controlchanneltriggercontract\3.0.0.0\windows.networking.sockets.controlchanneltriggercontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.security.isolation.isolatedwindowsenvironmentcontract\2.0.0.0\windows.security.isolation.isolatedwindowsenvironmentcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.maps.guidancecontract\3.0.0.0\windows.services.maps.guidancecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.maps.localsearchcontract\4.0.0.0\windows.services.maps.localsearchcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.store.storecontract\4.0.0.0\windows.services.store.storecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.targetedcontent.targetedcontentcontract\1.0.0.0\windows.services.targetedcontent.targetedcontentcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.storage.provider.cloudfilescontract\4.0.0.0\windows.storage.provider.cloudfilescontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.profilehardwaretokencontract\1.0.0.0\windows.system.profile.profilehardwaretokencontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.profilesharedmodecontract\2.0.0.0\windows.system.profile.profilesharedmodecontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.systemmanufacturers.systemmanufacturerscontract\3.0.0.0\windows.system.profile.systemmanufacturers.systemmanufacturerscontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.systemmanagementcontract\7.0.0.0\windows.system.systemmanagementcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ui.viewmanagement.viewmanagementviewscalingcontract\1.0.0.0\windows.ui.viewmanagement.viewmanagementviewscalingcontract.winmd
2>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ui.xaml.core.direct.xamldirectcontract\2.0.0.0\windows.ui.xaml.core.direct.xamldirectcontract.winmd
2>Microsoft(R) Metadata Merge Utility Version 10.0.49.
2>
2>
2>Processing input metadata file C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Intermediates\Win32\AppTestAutomationHelpers\obj\Unmerged\IdleSynchronizer.winmd.
2>Processing input metadata file C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Intermediates\Win32\AppTestAutomationHelpers\obj\Unmerged\TestAutomationHelpersPanel.winmd.
2>Processing input metadata file C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Intermediates\Win32\AppTestAutomationHelpers\obj\Unmerged\XamlMetaDataProvider.winmd.
2>Saved output metadata file AppTestAutomationHelpers.winmd.
2>Validating metadata file C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Intermediates\Win32\AppTestAutomationHelpers\obj\Merged\AppTestAutomationHelpers.winmd.
2>pch.cpp
1>MIDLRT Processing C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Intermediates\Win32\Microsoft.UI.Xaml\obj\Microsoft.UI.Xaml.idl
1>Microsoft.UI.Xaml.idl
1>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt\winrtbase.idl
1>winrtbase.idl
1>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt\midlbase.idl
1>midlbase.idl
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ai.machinelearning.machinelearningcontract\3.0.0.0\windows.ai.machinelearning.machinelearningcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ai.machinelearning.preview.machinelearningpreviewcontract\2.0.0.0\windows.ai.machinelearning.preview.machinelearningpreviewcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.background.callsbackgroundcontract\2.0.0.0\windows.applicationmodel.calls.background.callsbackgroundcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.callsphonecontract\5.0.0.0\windows.applicationmodel.calls.callsphonecontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.calls.callsvoipcontract\4.0.0.0\windows.applicationmodel.calls.callsvoipcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.communicationblocking.communicationblockingcontract\2.0.0.0\windows.applicationmodel.communicationblocking.communicationblockingcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.socialinfo.socialinfocontract\2.0.0.0\windows.applicationmodel.socialinfo.socialinfocontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.applicationmodel.startuptaskcontract\3.0.0.0\windows.applicationmodel.startuptaskcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.custom.customdevicecontract\1.0.0.0\windows.devices.custom.customdevicecontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.deviceslowlevelcontract\3.0.0.0\windows.devices.deviceslowlevelcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.printers.printerscontract\1.0.0.0\windows.devices.printers.printerscontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.smartcards.smartcardbackgroundtriggercontract\3.0.0.0\windows.devices.smartcards.smartcardbackgroundtriggercontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.devices.smartcards.smartcardemulatorcontract\6.0.0.0\windows.devices.smartcards.smartcardemulatorcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.foundation.foundationcontract\4.0.0.0\windows.foundation.foundationcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.foundation.universalapicontract\10.0.0.0\windows.foundation.universalapicontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.gaming.xboxlive.storageapicontract\1.0.0.0\windows.gaming.xboxlive.storageapicontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.graphics.printing3d.printing3dcontract\4.0.0.0\windows.graphics.printing3d.printing3dcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.networking.connectivity.wwancontract\2.0.0.0\windows.networking.connectivity.wwancontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.networking.sockets.controlchanneltriggercontract\3.0.0.0\windows.networking.sockets.controlchanneltriggercontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.security.isolation.isolatedwindowsenvironmentcontract\2.0.0.0\windows.security.isolation.isolatedwindowsenvironmentcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.maps.guidancecontract\3.0.0.0\windows.services.maps.guidancecontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.maps.localsearchcontract\4.0.0.0\windows.services.maps.localsearchcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.store.storecontract\4.0.0.0\windows.services.store.storecontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.services.targetedcontent.targetedcontentcontract\1.0.0.0\windows.services.targetedcontent.targetedcontentcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.storage.provider.cloudfilescontract\4.0.0.0\windows.storage.provider.cloudfilescontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.profilehardwaretokencontract\1.0.0.0\windows.system.profile.profilehardwaretokencontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.profilesharedmodecontract\2.0.0.0\windows.system.profile.profilesharedmodecontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.profile.systemmanufacturers.systemmanufacturerscontract\3.0.0.0\windows.system.profile.systemmanufacturers.systemmanufacturerscontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.system.systemmanagementcontract\7.0.0.0\windows.system.systemmanagementcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ui.viewmanagement.viewmanagementviewscalingcontract\1.0.0.0\windows.ui.viewmanagement.viewmanagementviewscalingcontract.winmd
1>Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.19041.0\windows.ui.xaml.core.direct.xamldirectcontract\2.0.0.0\windows.ui.xaml.core.direct.xamldirectcontract.winmd
1>Microsoft(R) Metadata Merge Utility Version 10.0.49.
1>
1>
1>Processing input metadata file C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Intermediates\Win32\Microsoft.UI.Xaml\obj\Unmerged\Microsoft.UI.Xaml.winmd.
1>Saved output metadata file Microsoft.winmd.
1>Validating metadata file C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Intermediates\Win32\Microsoft.UI.Xaml\obj\Merged\Microsoft.winmd.
1>The system cannot find the path specified.
1>C:\Users\PC\Desktop\microsoft-ui-xaml\dev\dll\Microsoft.UI.Xaml.vcxproj(865,5): error MSB3073: The command ""C:\Program Files (x86)\Windows Kits\10\bin\10.0\x64\mdmerge.exe" -v -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.AI.MachineLearning.MachineLearningContract\3.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract\2.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.ApplicationModel.Calls.Background.CallsBackgroundContract\2.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.ApplicationModel.Calls.CallsPhoneContract\5.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.ApplicationModel.Calls.CallsVoipContract\4.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract\2.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.ApplicationModel.SocialInfo.SocialInfoContract\2.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.ApplicationModel.StartupTaskContract\3.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Devices.Custom.CustomDeviceContract\1.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Devices.DevicesLowLevelContract\3.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Devices.Printers.PrintersContract\1.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract\3.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Devices.SmartCards.SmartCardEmulatorContract\6.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Foundation.FoundationContract\4.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Foundation.UniversalApiContract\10.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Gaming.XboxLive.StorageApiContract\1.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Graphics.Printing3D.Printing3DContract\4.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Networking.Connectivity.WwanContract\2.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Networking.Sockets.ControlChannelTriggerContract\3.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Security.Isolation.IsolatedWindowsEnvironmentContract\2.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Services.Maps.GuidanceContract\3.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Services.Maps.LocalSearchContract\4.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Services.Store.StoreContract\4.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Services.TargetedContent.TargetedContentContract\1.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.Storage.Provider.CloudFilesContract\4.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.System.Profile.ProfileHardwareTokenContract\1.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.System.Profile.ProfileSharedModeContract\2.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.System.Profile.SystemManufacturers.SystemManufacturersContract\3.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.System.SystemManagementContract\7.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.UI.ViewManagement.ViewManagementViewScalingContract\1.0.0.0\." -metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.UI.Xaml.Core.Direct.XamlDirectContract\2.0.0.0\." -o "C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\\x86\Microsoft.UI.Xaml\\sdk" -i "C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Intermediates\Win32\Microsoft.UI.Xaml\obj\Unmerged\Microsoft.UI.Xaml.winmd" -partial -n:3 -createPublicMetadata -transformExperimental:transform" exited with code 3.
1>Done building project "Microsoft.UI.Xaml.vcxproj" -- FAILED.
4>------ Build started: Project: TestAppCX, Configuration: Debug Win32 ------
5>------ Build started: Project: IXMPTestApp (test\IXMPTestApp\IXMPTestApp), Configuration: Debug_test x86 ------
6>------ Build started: Project: IXMPTestApp.TAEF, Configuration: Debug_test x86 ------
4>C:\Users\PC\Desktop\microsoft-ui-xaml\test\TestAppCX\TestAppCX.vcxproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd'
6>C:\Users\PC\Desktop\microsoft-ui-xaml\test\IXMPTestApp\TAEF\IXMPTestApp.TAEF.csproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd'
5>C:\Users\PC\Desktop\microsoft-ui-xaml\test\IXMPTestApp\MSTest\IXMPTestApp.csproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd'
6>CSC : error CS0006: Metadata file 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd' could not be found
6>C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Common.targets(482,5): error MSB4181: The "CompileXaml" task returned false but did not log an error.
5>CSC : error CS0006: Metadata file 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd' could not be found
5>C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Common.targets(482,5): error MSB4181: The "CompileXaml" task returned false but did not log an error.
4>pch.cpp
4>C:\Users\PC\Desktop\microsoft-ui-xaml\test\TestAppCX\pch.cpp : fatal error C1192: #using failed on 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd'
4> 'The system cannot find the file specified.'
4>C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Common.targets(486,5): error MSB4181: The "CompileXaml" task returned false but did not log an error.
4>Done building project "TestAppCX.vcxproj" -- FAILED.
2>IdleSynchronizer.cpp
2>module.g.cpp
2>TestAutomationHelpersPanel.xaml.cpp
2>XamlTypeInfo.Impl.g.cpp
2>XamlLibMetadataProvider.g.cpp
2>XamlMetaDataProvider.cpp
2>XamlTypeInfo.g.cpp
2> Creating library C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\\x86\AppTestAutomationHelpers\AppTestAutomationHelpers.lib and object C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\\x86\AppTestAutomationHelpers\AppTestAutomationHelpers.exp
2>AppTestAutomationHelpers.vcxproj -> C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\AppTestAutomationHelpers\AppTestAutomationHelpers.dll
7>------ Build started: Project: MUXControlsTestApp (test\MUXControlsTestApp\MUXControlsTestApp), Configuration: Debug_test x86 ------
8>------ Build started: Project: MUXControlsTestApp.TAEF, Configuration: Debug_test x86 ------
7>C:\Users\PC\Desktop\microsoft-ui-xaml\test\MUXControlsTestApp\MSTest\MUXControlsTestApp.csproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd'
8>C:\Users\PC\Desktop\microsoft-ui-xaml\test\MUXControlsTestApp\TAEF\MUXControlsTestApp.TAEF.csproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd'
7>CSC : error CS0006: Metadata file 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd' could not be found
7>C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Common.targets(482,5): error MSB4181: The "CompileXaml" task returned false but did not log an error.
8>CSC : error CS0006: Metadata file 'C:\Users\PC\Desktop\microsoft-ui-xaml\BuildOutput\Debug\x86\Microsoft.UI.Xaml\Microsoft.winmd' could not be found
8>C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Common.targets(482,5): error MSB4181: The "CompileXaml" task returned false but did not log an error.
========== Build: 1 succeeded, 7 failed, 5 up-to-date, 0 skipped ==========
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Cannot create repository on github
I'm not able to create public repositories on github. When I try to create a new repo a red message appears telling me...
Read more >Can't create new repository inside GitHub folder #10960
Go to File > New repository or use Ctrl+N. When the window pops up, no matter what directory your new repository is set...
Read more >why I can't create a new repository?
You can only create new repositories under workspace/projects where you have Admin permissions. Checking internally I see your account has ...
Read more >Cannot create a repository - Docker Hub
Cannot create a repository · Sign up to Docker Hub · Login · Navigate to REPOSITORIES · Click “Create Repository” · You just...
Read more >Cant build image from git repo : r/portainer
I'm using portainer on OMV (Debian) and I'm trying to build an image from my public git repo. The Repo currently is only...
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
I believe this is a duplicate of #5508.
i see an error above that says “the system cannot find the file”, but there isn’t a lot of context in the output. Build with /bl to generate an msbuild binlog so you can try to see what command the build was trying to run that failed to find a file. Maybe you are running against a long path issue? make sure you have long paths enabled, or put your clone in a short-named dir like
C:\w