Bug 4973 - building multiple configuration one after the other from the command line sometimes fails
Summary: building multiple configuration one after the other from the command line som...
Status: RESOLVED DUPLICATE of bug 5039
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.9.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-05-09 13:40 UTC by laplante.patrick
Modified: 2012-05-14 10:59 UTC (History)
1 user (show)

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:

Description laplante.patrick 2012-05-09 13:40:26 UTC
I have a build script that works fine with monodevelop release.  
With the alpha version, it fails most of the time with the following error:

MonoDevelop Build Tool
Loading solution: /Users/pat/dev/jenkins/dev/jenkins/workspace/MPSMC_Build/MPSMobileClient.sln
   Loading solution: /Users/pat/dev/jenkins/dev/jenkins/workspace/MPSMC_Build/MPSMobileClient.sln
      Loading projects ..
         WARNING: Error while trying to load the project '/Users/pat/dev/jenkins/dev/jenkins/workspace/MPSMC_Build/OPSEnterprise/OPSEnterprise.csproj': out of sync
The project 'OPSEnterprise' could not be found in 
fatal: Failure building OPSEnterprise for configuration Debug|iPhoneSimulator!

The build script does:

For each product in the solution
  For each configuration in the solution
     For each dependent library
        mdtool -t:Build -b:LibraryName -c:Configuration (Release|iPhone...)
     mdtool -t:Build -b:ProductName -c:Configuration (Release|iPhone...)

I wonder if I should do a -t:Clean between each product.
Comment 1 Mikayla Hutchinson [MSFT] 2012-05-14 10:59:09 UTC
Marking as a dup of 5039 because it has a trace for the "out of sync" exception.

*** This bug has been marked as a duplicate of bug 5039 ***