Comments (8)
I mean my fork for MScholtes's are working.
They share same name, so don't be confused ;)
from virtualdesktop.
Also, building this lib is quite easy, just build the test program to try out
from virtualdesktop.
Looks like some GUID for the API interfaces have changed.
See: MScholtes/VirtualDesktop@b17e545
From OS build 22489 and above apparently.
from virtualdesktop.
Looks like those guys fixed it already:
mntone#1
from virtualdesktop.
@Grabacr07 Any idea what could cause this? @NyaMisty says her fork is working on 22598 but it looks quite out dated.
from virtualdesktop.
I'm fairly new to C#, and I'm having the same problem on the latest dev build of Windows 11. I've done some projects before in C#, but I have a less than ideal understanding of dependencies and how to use/modify them when they don't "just work" straight out of NuGet. I'm more of C/C++ on Linux guy.
Can someone help me out and explain (like I'm 5) the best way to get this working? I'm trying to write a little gui app to make Windows' virtual desktop management fit better with my own workflow.
Edit: For clarity, here's the line of code throwing the exception for me:
var desktops = VirtualDesktop.GetDesktops();
from virtualdesktop.
@lenonk you would need to download the source tree from one of those branches and add the project to your solution and add references where needed (instead of just using nuget). Then build and see if it works. I too ran into such things and it seems that for some versions the registry does not contain the interface names and so I tried adding them hard-coded - unfortunately I never checked it into github only my sourceforge repo - https://sourceforge.net/p/virtual-desktop-grid-switcher/src/ci/a2766ed8b60e1e5b13bcd588ecfc934e923b4034/. Unfortunately I never managed to get my repo working on both standard win 11 and insider previews which seem to have different APIs .. grrr! I will get around to merging the official version of this library which apparently works on standard win 11 and mine at some point and fingers crossed it works on both ... trouble is I don't have access to a machine on both versions.
BTW, if you are from Linux you may find my program does what you want - I went from Linux (in the 90s) to VirtuaWin on windows and wrote this to be similar when Windows 10 came out and had native desktops (which seem stupid to anyone who has ever used them elsewhere because there are major things "missing" like a key combo to move a window to a different desktop - oh and yes 12 desktops in one single row is really usable - not! Windows developers seem to think everybody loves using their mouse for everything!).
from virtualdesktop.
@sliddington Thanks for the info. I'm still not sure I can get it done, but I'll try. Also, I don't even know if it will help me, as I just realized I'm running:
Also, this is what I'm looking for. I don't use it so much for switching between desktops, but as an indicator of what desktop I'm on, and creating new desktops. It's just a really convenient widget, and one I've realized I can't really live without. I can't find anything like it on Windows, so I'm writing it. shrug. I would probably do better to just do it in C++. I still wouldn't really understand the Windows interfaces, but at least I'd be more familiar with the language.
https://github.com/wsdfhjxc/virtual-desktop-bar
from virtualdesktop.
Related Issues (20)
- The current SynchronizationContext may not be used as a TaskScheduler.
- Latest windows 10 update --> Binding failure: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.5.0.0 HOT 2
- The notification to switch a virtual desktop may raise twice. / デスクトップ変更通知が2回来ることがある。 HOT 1
- Broken on Fast Ring (20270+) because of FC_USER_MARSHAL parameter changes HOT 2
- System.NotSupportedException: Specified method is not supported HOT 1
- Cannot run on Win11 HOT 1
- Is there anyway to capture screenshot from second desktop when we are in primary without moving to second desktop HOT 2
- Library not working on windows 11 HOT 2
- WinUI 3 and .NET 5 HOT 7
- Desktop name is empty HOT 4
- Exceptions on app exit HOT 8
- Desktop name is empty
- "You must target Windows 10 or later in your 'app.manifest' and run without debugging." HOT 2
- Avoid log spam
- Not working with Windows 11 22H2 ? HOT 39
- Virtual desktop is null of msedge and notepad++ HOT 2
- Problem with Windows 11 22H2 HOT 2
- Runtime Exception on Publish with Produce Single File option selected
- Add .NET 7.0 compatibility HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtualdesktop.