You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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 🙌
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.
The text was updated successfully, but these errors were encountered: