Severity Code Description Project File Line Suppression State
Error NETSDK1149 WinRT.GraphicsCapture.exe cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher. An updated version of the component supporting .NET 5 is needed. For more information, see https://aka.ms/netsdk1149 MyApp C:\Program Files\dotnet\sdk\7.0.401\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets 1047
Trying to capture Edge, VS Code or video games (I tried on Dota 2) just returns blank texture.
I find it slightly weird as their windows have proper thumbnails in Win+Tab and the taskbar, which hints that DWM actually has their surfaces of some kind.