Bug 23791 - Inputs and Outputs are missing from the forms tasks
Summary: Inputs and Outputs are missing from the forms tasks
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-10-13 15:58 UTC by Alan McGovern
Modified: 2016-03-18 08:36 UTC (History)
4 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 NOT_ON_ROADMAP

Description Alan McGovern 2014-10-13 15:58:37 UTC
MSBuild uses 'Inputs' and 'Outputs' to fast-path targets so they only execute if the input file is newer than the output file (or hte output file does not exist). The xamlg task is missing these. As such, every time CoreCompile is background invoked and every time the user manually builds, every .xaml.g.cs file is regenerated which in turn forces the actual compilation to occur.

We need to add inputs/outputs like this: https://github.com/xamarin/maccore/blob/master/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Common.targets#L169-L175
Comment 1 Ram Chandra 2014-10-29 09:51:56 UTC
Could you please provide steps to reproduce this behavior ? So that we can reproduce this issue at our end.
Comment 2 Jason Smith [MSFT] 2016-03-18 08:36:10 UTC
Targets have changed dramatically