Resolving EPERM Issues in Visual Studio 2015 Cordova Projects

When working with Cordova applications in Visual Studio 2015, developers often encounter a frustrating issue related to file permissions. This problem typically manifests when trying to build a Cordova project that’s under source control, particularly with Team Foundation Server (TFS). Understanding and resolving this issue is crucial for maintaining a smooth development workflow. Understanding the Problem The core issue stems from file permissions in the platforms directory of your Cordova project. Even though this directory is typically excluded from source control (as it should be), the files within it become marked as read-only. This creates a conflict when the build process attempts to modify these files, resulting in the “EPERM, operation not permitted” error. ...

November 25, 2015 · 3 min

Understanding and Fixing TDR (Timeout Detection and Recovery) Problems in Windows

Introduction Windows’ Timeout Detection and Recovery (TDR) system represents a crucial advancement in system stability, particularly for graphics-intensive applications. This feature, introduced in Windows Vista and refined in subsequent versions, acts as a safety net for your computer, preventing complete system freezes when graphics-related issues occur. However, while TDR has improved overall system reliability, it can sometimes create frustrating experiences for users, especially those running demanding games or applications. What is TDR and Why Does It Matter? TDR is essentially Windows’ way of handling graphics driver failures gracefully. Instead of allowing a graphics problem to crash your entire system, TDR detects when the graphics processing unit (GPU) is taking too long to respond and initiates a recovery process. This process involves resetting the graphics driver and restoring your desktop to a usable state, all while attempting to preserve your work and prevent data loss. ...

March 14, 2012 · 5 min · Tim