VirtualDesktop icon indicating copy to clipboard operation
VirtualDesktop copied to clipboard

Not Compatible with .NET Framework

Open mstrobel opened this issue 5 years ago • 4 comments

It seems this library is no longer compatible with the desktop .NET Framework (only .NET Core). Is this intentional?

The issue seems to be that the System.Runtime.Loader dependency is itself only compatible with .NET Core. I had tried adding the relevant NuGet package, but MSBuild would never deploy the assembly to my output directory. Some googling turned up a post where a Microsoft dev confirmed the incompatibility.

---------------------------
Failed to initialize.
---------------------------
Could not load file or assembly 'System.Runtime.Loader, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
---------------------------
OK   
---------------------------

mstrobel avatar Apr 20 '20 13:04 mstrobel

i have the same problem, so did you find any solution? must i change my project to a .net core app?

Helloooxs avatar May 28 '20 09:05 Helloooxs

Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.5.0.0

wil70 avatar Jun 21 '20 17:06 wil70

It works great with an app that uses .net core 3.1, but it fails with an app that uses .net framework 4.7.2 and 4.8 , any idea how to solve this? Thank you!! image

wil70 avatar Jun 22 '20 15:06 wil70

This is fixed with pull request https://github.com/Grabacr07/VirtualDesktop/pull/49/commits/429b3d84e684e042127a9d50a3afe58c913cef45

augomat avatar Oct 26 '20 22:10 augomat