Grabacr07 / VirtualDesktop

C# wrapper for the Virtual Desktop API on Windows 11.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"You must target Windows 10 or later in your 'app.manifest' and run without debugging."

ruhchjdbdbhccjjc opened this issue · comments

Hi,
When I use this library,In some case(console sofware and vsto--- i tried .net4.72 version that pulled in pull requests! ),always get error:"You must target Windows 10 or later in your 'app.manifest' and run without debugging." ,but i created a app.manifest file and target windows 10.
So the library only Can be used in wpf ? otherwise , I am wrong?
Anyone can help me?

found this post while having the same problem ... and I think it is solved ...
used .net 4.6 in my console app and VirtualDesktop.dll version 2.0.0.0 (pretty old)
but the things that made this error / exception go away is Project->Properties->Application->OutputType->WindowsApplication instead of Console Application
Also you must do the app.manifest thing as stated in README ...

@iskmz Thank your help!