Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello dear community!

Visual Studio for Mac re-generates Resources.Designer.cs every time and generates new resource IDs anew for all resources, even for those that were not changed. It happens like this:
- I clone me some code in source control to work on
- Open that project with VS for Mac
- "Voi la", Resources.designer.cs is generated anew, all resources have new IDs and I've got me a file with a hell lot of meaningless changes to code review! :(

Did any1 experience this issue and find a solution? It's inconvenient and such changes look pretty lame in change history...

What I have tried:

I have tried switching to the latest version of BuildTools, tried to update VS to latest stable update and to latest Preview update but it didn't help
Posted
Updated 27-Aug-19 2:05am
v2

1 solution

You could add all designer files to the ignore-list of your source-control system.
They are generated by the designer anyway, and should not be modified by any other entity. All auto-generated files should be excluded from version-control.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900