Bug 14914 - The build has been aborted as the file 'xxx' could not be saved
Summary: The build has been aborted as the file 'xxx' could not be saved
Status: VERIFIED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.1.10
Hardware: PC Windows
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-09-22 08:54 UTC by Tony
Modified: 2014-03-27 06:53 UTC (History)
2 users (show)

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


Attachments
Example of Build Issue (147.23 KB, image/jpeg)
2013-09-22 08:54 UTC, Tony
Details


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:
VERIFIED NOT_REPRODUCIBLE

Description Tony 2013-09-22 08:54:30 UTC
Created attachment 4955 [details]
Example of Build Issue

Description of Problem:
In the Xamarin Studio, at indeterminate times, the build operation reports: The build has been aborted as the file 'xxx.cs' could not be saved; even though the said file has been saved!

Steps to reproduce the problem:
1. Make change to the file 'xxx.cs'
2. Maybe, if lucky, the build will complete


Actual Results:
The build has been aborted as the saved file 'xxx.cs' is not recognized as being saved

Expected Results:
I would expect the saved file to be built.

How often does this happen? 
Maybe every four or five builds.

Additional Information:
In the attached screen grab, it is clear that the file under question has actually been saved (i.e. the file, HomeScreen.cs, changed indicator in the tab is an X).
Comment 1 Mike Krüger 2013-09-24 23:24:26 UTC
Hard to tell whats going wrong (I can't reproduce that)

I guess that it has to do with a wrong eol detection - that could produce such issue. I changed that (should be fixed)
Comment 2 Prashant manu 2014-03-27 06:53:05 UTC
Checked after making changes to .cs files and it saves and builds successfully.

Environment Info:
Xamarin Studio
Version 4.2.4 (build 266) 
Build Information
Git revision: 57fa6b7639703775ae1d5c46536e42ab424cb177
Xamarin addins: eee141c29724a19529e77b8e743086d95b29f5ba