Bug 624 - Have the option to turn off line ending conversion warnings.
Summary: Have the option to turn off line ending conversion warnings.
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8 Alpha 2
Hardware: PC Linux
: High normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-09-04 10:13 UTC by Chris Hardy [MSFT]
Modified: 2014-01-28 11:53 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Chris Hardy [MSFT] 2011-09-04 10:13:12 UTC
Allow the possibility to turn off converting a file with different line ending.In my case one file has windows line endings, the other has unix line endings. This is not a problem for me, but when compiling, monodevelop asks for converting the file. (the compiler continues without my changes in that file!) Can there be an option to turn off this conversion?
Comment 1 Alan McGovern 2011-11-16 10:00:35 UTC
This is pretty important as it leads to very strange compilation behaviours.
Comment 2 Alan McGovern 2011-12-01 13:46:23 UTC
This has been fixed by aborting the build with an appropriate error message if there are unsaved files and the user has not enabled 'Build without saving'. This should resolve the issue in the neatest way.
Comment 3 Saurabh 2011-12-29 03:06:04 UTC
Please provide some steps so that we can verify this issue.

Kindly change status to NEEDINFO.
Comment 4 Mikayla Hutchinson [MSFT] 2011-12-30 19:26:03 UTC
1) On Mac, get a file with Windows line endings and add it to the project.
2) Make a single edit to the file, e.g. add a comment.
3) Do not save the file.
4) Build the project
5) MD should prompt to save the file and ask whether to convert line endings, and save the file, before building.
Comment 5 Michal Dobrodenka 2013-11-12 07:50:23 UTC
Xamarin.Studio 4.1.13 and still getting this warning :(

Working on a multiplatform solution Win/VS/MacOsX and X.S is still offering me an option to convert line endings. I really don't care about line endings. Just use line endings used in file an never give me this dialog. I have Line conversion setting to "leave as it is" but, still getting this dialog.
Comment 6 kenny goers 2014-01-28 11:53:57 UTC
Prompts for me as well, I have common code for Windows and iOS and getting really tired of this annoying prompt.  It seems to work when opening a file, but when going back to it the check and prompt are showing up.  PLEASE FIX THIS AS IT IS THE SINGLE MOST ANNOYING CODING THING I FACE.