Forum Xamarin.iOS

Visual Studio rewrite all designer.cs files after I redacted one xib file.

artemoniksartemoniks RUMember ✭✭
edited March 2017 in Xamarin.iOS

I use xibs files and two IDE: Visual Studio for Mac and Visual Studio on Windows (2017)
Visual Studio rewrite all designer.cs files after I redacted one xib file.
And as result I have many git diff in each designer.cs file

diff:

What you do with it ?

Answers

  • SebastianKruseSebastianKruse USMember ✭✭✭

    Visual Studio for Mac is only a preview so far. The difference will be the line ending ( \r and \n ). So either you ignore this changes in git or you revert / commit it every single time.

  • UnreachableCodeUnreachableCode USMember ✭✭✭

    Still a problem to this day for me. VS for Mac seems to either be changing line endings or changing tabs to spaces, maybe both. I cannot for the life of me get it to stop. I've tried gitignore/exclude, and I've tried changing the editor settings in VS preferences. Has anyone found a fix to this problem before?

Sign In or Register to comment.