Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

WPF MSBuild is failed with Microsoft.Toolkit.Wpf.UI.XamlHost #357

Open
vvanparthi opened this issue May 11, 2023 · 4 comments
Open

WPF MSBuild is failed with Microsoft.Toolkit.Wpf.UI.XamlHost #357

vvanparthi opened this issue May 11, 2023 · 4 comments
Labels
bug 🐛 Something isn't working XamlIslands 🏝️

Comments

@vvanparthi
Copy link

I am using Microsoft.Toolkit.Wpf.UI.XamlHost nuget package in my WPF project for accessing UWP UI element in WPF.

I am able to Build and Run the project from Visual Studio 2019.

But Build is failed in Azure Pipeline.

I am getting below error.

C:\Users\svc_build_ado.nuget\packages\microsoft.toolkit.win32.ui.sdk\6.1.2\build\Microsoft.WinRT.Win32.targets(207,5): error MSB4801: The task factory "CodeTaskFactory" is not supported on the .NET Core version of MSBuild. [F:\builds\agent8_work\1\s\WPFApp.csproj]
C:\Users\svc_build_ado.nuget\packages\microsoft.toolkit.win32.ui.sdk\6.1.2\build\Microsoft.WinRT.Win32.targets(207,5): error MSB4175: The task factory "CodeTaskFactory" could not be loaded from the assembly "F:\builds\agent8_work_tool\dotnet\sdk\3.1.200\Microsoft.Build.Tasks.Core.dll". The task factory must return a value for the "TaskType" property. [F:\builds\agent8_work\1\s\WPFApp.csproj]

Any Ideas on this issue.

@vvanparthi vvanparthi added the bug 🐛 Something isn't working label May 11, 2023
@ghost ghost added the needs triage 🔍 label May 11, 2023
@ghost
Copy link

ghost commented May 11, 2023

Hello vvanparthi, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

@ghost ghost added the needs attention 👋 label May 26, 2023
@ghost
Copy link

ghost commented May 26, 2023

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

2 similar comments
@ghost
Copy link

ghost commented Jun 10, 2023

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented Jun 25, 2023

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐛 Something isn't working XamlIslands 🏝️
Projects
None yet
Development

No branches or pull requests

2 participants