How prevent Rider from doing document modification on designer.cs files?

1
2 comments

Hi,

 

Rider automatically updates *.Designer.cs files when you update any element of the form in the Designer - they are closely related and code generation is handled by IDE.

 

Could you clarify, under what circumstances do you want Rider to avoid making changes to the *.Designer.cs?

0

We have found ourselves that Rider does modifications to the designer.cs of windows forms without even touching that file. We don't know yet how to reproduce it but it happens often. Currently seems random. But if we figure out a reproduction pattern we will come back to report it. However this is a real problem sometimes as these kind of modifications can get commited unnoniced when you have a lot of file changes.

0

Please sign in to leave a comment.