I followed the instructions in here and device creation works.
However, at DXGI.SwapChain.ResizeBuffers I get a DXGI_ERROR_INVALID_CALL (-2005270527) error.
//width is non-zero//height is non-zero//all color/depth textures/views have been deletedSwapChain.ResizeBuffers(1, width, height, Format.R8G8B8A8_UNorm_SRGB, SwapChainFlags.None);
In regular debugging mode everything works fine.
I'm using DX11.
Anyone know what's wrong?