-1

I build a C# .net7 sdk program, which is a small desktop application for messaging. I am running this application on Rider using linux. I can't resolve the issue

** Microsoft.NET.Sdk.WindowsDesktop.targets(74, 3): [MSB4019] The imported project "/usr/lib/dotnet/sdk/7.0.110/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.WinFX.targets" was not found. Confirm that the expression in the Import declaration "Microsoft.WinFX.targets" is correct, and that the file exists on disk.**

I tried downloading windows desktop related files from git but couldn't find the solution for linux.

  • 1
    Are you trying to cross-compile for Windows from Linux, or are you actually trying to run a Windows WPF executable on Linux? – Dai Aug 22 '23 at 05:33
  • 1
    Microsoft does not support WPF projects on Linux. Either you go back to Windows, or search for a third party solution. – Lex Li Aug 22 '23 at 05:53

0 Answers0