Let\'s suppose I\'ve just created an app in visual studio and now I want to distribute it. I\'ve set the app to release mode and I have a copy of the app that works just fine. M
Microsoft has some requirements for getting your app certified. You can read about them in the links I posted below. As for Avast, I'm not too sure what it could be, try using another anti virus program to see if it's taking a while to virus scan. It could also be a performance issue but that's unlikely. (https://docs.microsoft.com/en-us/windows/desktop/win_cert/windows-certification-portal) (https://docs.microsoft.com/en-us/windows/desktop/win_cert/certification-requirements-for-windows-desktop-apps)
Hope that helps