Skip to content

Fix XM dependency tracking of mmp bundle to prevent rebuilds - #1014

Merged
rolfbjarne merged 1 commit into
masterfrom
xm_rebuild
Oct 27, 2016
Merged

Fix XM dependency tracking of mmp bundle to prevent rebuilds#1014
rolfbjarne merged 1 commit into
masterfrom
xm_rebuild

Conversation

@chamons

@chamons chamons commented Oct 20, 2016

Copy link
Copy Markdown
Contributor
  • https://bugzilla.xamarin.com/show_bug.cgi?id=45764
  • _CompileToNative's output in msbuild was incorrectly set to:
    $(_AppBundlePath)Contents\MacOS$(TargetFileName) when the generated
    file lives at $(_AppBundlePath)Contents\MonoBundle$(TargetFileName).
  • This means we'd always try to rebuild, which can be rather time consuming.
  • The XI target file is just different enough to require a seperate fix.

- https://bugzilla.xamarin.com/show_bug.cgi?id=45764
- _CompileToNative's output in msbuild was incorrectly set to:
 $(_AppBundlePath)Contents\MacOS\$(TargetFileName) when the generated
 file lives at $(_AppBundlePath)Contents\MonoBundle\$(TargetFileName).
- This means we'd always try to rebuild, which can be rather time consuming.
- The XI target file is just different enough to require a seperate fix.
@chamons

chamons commented Oct 20, 2016

Copy link
Copy Markdown
Contributor Author

The fix is a one-liner but adding the ability to run a build w\ diagnostic and updating the tests calling it took 3 more files...

@chamons chamons assigned chamons and jstedfast and unassigned chamons Oct 20, 2016
@chamons

chamons commented Oct 20, 2016

Copy link
Copy Markdown
Contributor Author

@spouliot I believe this (and the companion XI fix) should make C9. Thoughts?

@spouliot

Copy link
Copy Markdown
Contributor

@chamons agreed, if everyone and the bots are happy we'll merge it before other riskier fixes (and before cycle9 branch). Otherwise we can backport it a bit later too.

@jstedfast

Copy link
Copy Markdown
Member

Looks good to me.

@rolfbjarne

Copy link
Copy Markdown
Member

build

@monojenkins

Copy link
Copy Markdown
Contributor

Build success

@rolfbjarne
rolfbjarne merged commit 82bfb2f into master Oct 27, 2016
@chamons
chamons deleted the xm_rebuild branch April 12, 2017 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants