EarTrumpet locking image resources
See original GitHub issueHi, im facing a weird bug with EarTrumpet lately.
Im developing a UWP JS app using VS2017 and, after some time, Visual Studio will just stop compiling the app complaining about one specific resource being used by another process. The message reads:
Error DEP0500: The folder "C:\Users\<username>\Documents\Visual Studio 2017\Projects\<repo>\<project>\bin\Debug\AppX" could not be deleted. IOException - The process cannot access the file 'Square44x44Logo.scale-200.png' because it is being used by another process. [0x80070020]
This has happened to me both at my work machine and my personal one.
I had no clue it was EarTrumpet until I searched for the asset being used in SysInternals’ Process Explorer, which threw the following results:
EarTrumpet.exe 27656 File C:\Users\<user>\Documents\Visual Studio 2017\Projects\<repo>\<project>\bin\Debug\AppX\assets\images\Square44x44Logo.scale-200.png
EarTrumpet.exe 27656 File C:\Users\<user>\Documents\Visual Studio 2017\Projects\<repo>\<project>\bin\Release\AppX\assets\images\Square44x44Logo.scale-200.png
(notice how both release and debug compilations are affected)
OS Version: 17134.112 VS Version: 15.7.4 EarTrumpet Version: 2.0.3.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Very strange, we’re investigating.
This is fixed in 2.0.5, closing the issue.