The issue is at the Microsoft end. They seem to be working on it and the fix is available in the Visual Studio 2019 preview version - https://visualstudio.microsoft.com/vs/preview/ .
Below is the link to the detailed discussion in developer community blog.