VS2017 - Cannot save file (MFC resource editor / RC file)

  • Thread starter Thread starter Adambean
  • Start date Start date
A

Adambean

Guest
Hello,

There seems to be a problem with VS2017 with a particular project when trying to save changes in the resource editor. Whenever I do this I just get a basic warning modal with message "Cannot save file". This appears twice, then prompts me for a new save location, but refuses to work no matter where I try.

I am able to edit the RC file externally in another editor. Not only does it save fine, but when compiling the MFC application via VS2017 it notices the changes and builds it correctly.

What I've tried so far:

  • Checking NTFS security descriptors -- I am very permitted to modify everything in the project
  • Moving the project to a local volume -- It's typically stored in an encrypted container volume
  • Deleting the RC file and saving it again
  • Ensuring NO handles are open to the RC file
  • Turning off auto-recovery
  • Re-checking out the project from version control (SVN)
  • Running VS2017 in administrator mode (last resort!)

Other developers of the project are able to save their RC changes fine.

Making a new clean MFC application works fine, so something tells me the issue is with the project. Obviously the error message is completely useless, so where else can I look for a cause?


Thanks, Adam Reece.

Continue reading...
 
Back
Top