Bug 32157 - iOS msbuild target reports error in non-existent "MTOUCH" file
Summary: iOS msbuild target reports error in non-existent "MTOUCH" file
Status: NEW
Alias: None
Product: Tools
Classification: Mono
Component: xbuild ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-07-20 14:26 UTC by Seth Rosetter
Modified: 2015-07-31 08:03 UTC (History)
6 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 for Bug 32157 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description Seth Rosetter 2015-07-20 14:26:13 UTC
Description of Problem:
Double clicking on the warning attempts to open the path as a file and errors in a dialog. 

Steps to reproduce the problem:
1. Open an iOS project
2. Double click on PushKit warning

http://screencast.com/t/AjmKa0ExgEKV

Actual Results:
Generates error, try to open warning as a file
Comment 1 Sebastien Pouliot 2015-07-27 10:55:02 UTC
Not sure if it's the task or the IDE that should handle this properly - but Jeff will know.
Comment 2 Lluis Sanchez 2015-07-28 10:02:52 UTC
The IDE handles it properly. When the user tries to jump to the error, It reports that the file doesn't exist, which is true. The build target should not report an error location that doesn't exist.
Comment 3 Jeffrey Stedfast 2015-07-30 16:22:18 UTC
This is actually probably a bug in mtouch since the MSBuild output parser is used on the mtouch output to parse file/line/column/etc info.
Comment 4 Rolf Bjarne Kvinge [MSFT] 2015-07-31 04:54:04 UTC
This is what mtouch prints:

>  warning MT0043: The Boehm garbage collector is currently not supported when referencing 'Xamarin.iOS.dll'. The SGen garbage collector has been selected instead.

This is what shows up in the IDE output log:

> MTOUCH:  warning MT0043: The Boehm garbage collector is currently not supported when referencing 'Xamarin.iOS.dll'. The SGen garbage collector has been selected instead.

so it's not an mtouch bug.
Comment 5 Jeffrey Stedfast 2015-07-31 08:03:09 UTC
Then it's a bug in xbuild's parser.

The MTouchTask does not parse the error/warning messages. That all gets handled by xbuild.