Bug 174 - Status Bar locks when building with custom Makefile
Summary: Status Bar locks when building with custom Makefile
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.6 Beta 3
Hardware: PC Linux
: --- minor
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-08-04 03:59 UTC by Timo Dörr
Modified: 2011-11-14 16:37 UTC (History)
4 users (show)

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


Attachments
Very basic sample project to hit the bug (5.45 KB, application/x-gzip)
2011-08-04 13:31 UTC, Timo Dörr
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:
RESOLVED FIXED

Description Timo Dörr 2011-08-04 03:59:12 UTC
with custom makefiles (not generated ones), the status bar in MD says "Updating
Project" forever after triggering a build of the custom makefile project. Additionally, this affects the cleaning process as subsequent projects are not correctly cleaned out.

Steps to reproduce:

1. Create a new MD Solution, i.e. the default "Hello World" console project 
2. Right click solution -> add new Project -> C# Library
3. Double click newly added library project and enable Makefile integration
4. In the dialog, do not click generate Makefile but use custom one
5. Use a very basic Makefile like this:

VAR1=foo

all: clean build
clean:
    @echo clean 
build:
    @echo build 


6. Build the project or solution

What happens: The status bar says "updating project" without the progress
indicator bar moving and stays on "updateting projects" until next build.

What should happen: The project should be updated (?) and status bar say "build
complete / successful"
Comment 1 Lluis Sanchez 2011-08-04 12:28:34 UTC
Can you attach a project which can be used to reproduce the problem? thanks!
Comment 2 Timo Dörr 2011-08-04 13:31:05 UTC
Created attachment 67 [details]
Very basic sample project to hit the bug

Basic project to hit the bug. Extract and load the solution, then perform a "rebuild all". On my opensuse 11.4 box using official mono repo from mono-project, MD 2.6b3 lcoks the status bar to "Updating Project" without changing. The build target in the Makefile are sometimes not executed correctly.
Comment 3 Tim Howard 2011-08-13 16:07:09 UTC
I could not reproduce on trunk given the test solution. I also could not reproduce on 2.6b3 though.
Comment 4 Alan McGovern 2011-11-14 16:37:08 UTC
This sounds like it has been fixed in newer versions of monodevelop as I cannot reproduce it with MonoDevelop 2.8.2 with the supplied testcase.