Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version 1.4.2 adds reference to Microsoft.WindowsDesktop.App

See original GitHub issue

Type of issue

[ ] Bug
[ ] Question (e.g. about handling/usage)
[x] Request for new feature/improvement

Expected Behavior

No targeting Microsoft.WindowsDesktop.App

Current Behavior

The v1.4.2 package adds a dependency to Microsoft.WindowsDesktop.App to projects targeting .net5.0-windows or .net6.0-windows. Many AspNetCore applications run on windows servers that do not have the Microsoft.WindowsDesktop.App runtime/target installed, and thus do not start any more after upgrading to v1.4.2

Possible Solution (optional)

Isolate WPF functionality into a new package? It is only the XamlQRCode that requires the references to PresentationFramework/Microsoft.WindowsDesktop.App.

Your Environment

Version 1.4.2 TargetFramework: .net6.0-windows

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:29 (16 by maintainers)

github_iconTop GitHub Comments

Nefarioncommented, Dec 10, 2021

Version 1.4.3-ci-20211209065116 also solves my problem! Thanks!

jnyrupcommented, Dec 9, 2021

I just tried out the 1.4.3-preview and it solves the problem I had. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Started to get "This project is targeting a version of .NET ...
This project is targeting a version of .NET which is not installed. Then there's an Install link to the right of the warning...
Read more >
What's new in the Remote Desktop client for Windows
Learn about recent changes to the Remote Desktop client for Windows.
Read more >
How to reliably reference WindowsDesktop.App.Ref at ...
I cannot find a way to do this that works for all developers. I was trying to use the version found in this...
Read more >
Can't open Handbrake on Windows 10, missing .NET ...
So I used the installer and got the latest version, but when I try to open it it tells me I need to...
Read more >
.NET Core Windows Desktop Apps
NET Core Apps end users can run locally using Chrome's leading and consistent rendering engine within a Windows Desktop Application. app includes a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found