Hmmmmm, that's weird. My only guess is that maybe that there is some error with detecting if it is dotnet. Do you need the app to be seen as dotnet? You could possibly just set the Enabled property to false in the DotNet40Factory so that it is consistent.
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.