While digging for some issue, I've noticed that whenever I run my cloud services locally, the Compute Emulator logs at %LocalAppData%\dftmp\DFServiceLogs\<UUID>DFService.log fill up with dozens of these exceptions:
DFService Information: 0 : [00005036:00000040, 2015/09/06 05:44:24.588] Exception:System.Runtime.InteropServices.COMException (0x80070091): The directory is not empty. (Exception from HRESULT: 0x80070091)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
at Microsoft.WindowsAzure.GuestAgent.EmulatorRuntime.EmulatorRuntimeImpl.StartRole(String roleInstanceId, CertificateBlobType certsBlobType, Byte[] certificatesBlob)
at Microsoft.ServiceHosting.Tools.DevelopmentFabric.Fabricator.StartRoleInstance(RDConfig roleInstanceConfig)
at Microsoft.ServiceHosting.Tools.DevelopmentFabric.Fabricator.RestartRoleInstance(RDConfig roleInstanceConfig)
DFService Information: 0 : [00005036:00000037, 2015/09/06 05:44:24.591] Exception:System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
at Microsoft.WindowsAzure.GuestAgent.EmulatorRuntime.EmulatorRuntimeImpl.StartRole(String roleInstanceId, CertificateBlobType certsBlobType, Byte[] certificatesBlob)
at Microsoft.ServiceHosting.Tools.DevelopmentFabric.Fabricator.StartRoleInstance(RDConfig roleInstanceConfig)
Unfortunately, it's not clear which file/directory the errors refer to.
This must mean something, right?