Bug 53183 - [15.1 Alpha 2 Smoke] Getting Build Successful with errors shown in Error console.
Summary: [15.1 Alpha 2 Smoke] Getting Build Successful with errors shown in Error cons...
Status: RESOLVED DUPLICATE of bug 54994
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.3.1 (15.1)
Hardware: PC Windows
: --- major
Target Milestone: 15.2
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-03-09 11:25 UTC by Jacky Waswani
Modified: 2017-04-12 19:29 UTC (History)
8 users (show)

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


Attachments
Screenshot for maintained defect (96.71 KB, image/png)
2017-03-09 11:25 UTC, Jacky Waswani
Details
Attached VS logs and screenshot (110.68 KB, application/zip)
2017-03-20 13:03 UTC, Jacky Waswani
Details
Logs form VS 2017 (142.66 KB, application/x-rar)
2017-03-21 08:21 UTC, Tanmay Bhattacharjee
Details
Attachment as screencast & logs. (2.14 KB, application/x-zip-compressed)
2017-03-27 15:28 UTC, Jacky Waswani
Details
Ide Logs for Xamarin studio execution (95.06 KB, text/plain)
2017-04-03 13:27 UTC, Neeraj Deshmukh
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 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 DUPLICATE of bug 54994

Description Jacky Waswani 2017-03-09 11:25:15 UTC
Created attachment 20242 [details]
Screenshot for maintained defect

On building TvOS application, "Build Succeed" message seen on output window while error console shows build error.

Environment : 

Windows 10
Microsoft Visual Studio Enterprise 2015
Version       14.0.25431.01 Update 3
Xamarin       4.3.1.2 (486e68a)
Xamarin.iOS   10.8.0.1

Steps : 

1. Open VS.
2. Create TvOS template project.
3. Create and set new configuration as Distribution.
4. Set Linker Behavior in Project properties and tvOSBuild ->Distribution config.
5. Set tvOS AppIcons and TopShelf Image Icons.
6. Right click on Assets folder and add a new Launch Image and set the image.
7. Set the keys in Info.plist.
8. Set correct Distribution profile.
9. Build Project.



Expected Result : On building TvOS application, "Build Succeed" should not be displayed if build errors exist.

Actual Result : On building TvOS application, "Build Succeed" message seen on output window while error console shows build error.
Comment 1 Emanuel 2017-03-10 14:54:23 UTC
Hi @Jacky,
Could you attach the Detailed build output? 

You can change the Build output verbosity from "Tools -> Options -> Project and Solutions -> Build and Run -> MSBuild project build output verbosity".

Thanks!
Comment 3 Jacky Waswani 2017-03-16 10:00:00 UTC
Hello Emanuel,

Tested with;
Xamarin 4.3.1.39 (a70e3a1)
Xamarin.iOS 10.8.0.17 (49a63dc)

Attaching the detailed Build Logs.

========================================
1>------ Rebuild All started: Project: ODRsTVOS, Configuration: Distribution iPhone ------
1>Build started 16-03-2017 15:04:49.
1>Building with tools version "14.0".
1>Project file contains ToolsVersion="4.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="14.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=293424.
1>Target "_CheckForInvalidConfigurationAndPlatform" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\ODRsTVOS\ODRsTVOS\ODRsTVOS.csproj" (entry point):
1>Task "Error" skipped, due to false condition; ( '$(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ).
1>Task "Warning" skipped, due to false condition; ( '$(_InvalidConfigurationWarning)' == 'true' ) was evaluated as ( '' == 'true' ).
1>Using "Message" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
1>Task "Message"
1>  Configuration=Distribution
1>Done executing task "Message".
1>Task "Message"
1>  Platform=iPhone
1>Done executing task "Message".
1>Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and !HasTrailingSlash('$(OutDir)')) was evaluated as ('bin\iPhone\Distribution\' != '' and !HasTrailingSlash('bin\iPhone\Distribution\')).
1>Task "Error" skipped, due to false condition; ('$(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('$(BaseIntermediateOutputPath)')) was evaluated as ('obj\' != '' and !HasTrailingSlash('obj\')).
1>Task "Error" skipped, due to false condition; ('$(IntermediateOutputPath)' != '' and !HasTrailingSlash('$(IntermediateOutputPath)')) was evaluated as ('obj\iPhone\Distribution\' != '' and !HasTrailingSlash('obj\iPhone\Distribution\')).
=================================================

Error List:

=================================================
The file "bin\iPhone\Distribution\ODRsTVOS.app.dSYM\Contents\Info.plist" does not exist.
=================================================

Also attached logs for Xamarin.
Kindly advice if anything else is required.

Thanks!!!
Comment 4 Jacky Waswani 2017-03-20 13:03:54 UTC
Created attachment 20457 [details]
Attached VS logs and screenshot

Same defect is observed for iOS Application in VS
Attached VS logs, screenshot and screencast link.
https://www.screencast.com/t/psbvxiB3sn4


Steps :

1.Create a iOS app.
2.Set configuration as release.
3.Set correct Distribution profile.
4.Build Project.

Expected Result : On building any iOS application, "Build Succeed" should not be displayed if build errors exist.

Actual Result : On building any iOS application, "Build Succeed" message seen on output window while error console shows build error.

Reproducible 100 %

Note : Issue only observed with TvOS and iOS and not with WatchOS.

Environment :

Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01055

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA364
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

LightSwitch for Visual Studio 2015   00322-80000-00000-AA364
Microsoft LightSwitch for Visual Studio 2015

Visual Basic 2015   00322-80000-00000-AA364
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA364
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA364
Microsoft Visual C++ 2015

Visual F# 2015   00322-80000-00000-AA364
Microsoft Visual F# 2015

Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA364
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   7.18.00214.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Clang with Microsoft CodeGen   14.0.25516
Clang with Microsoft CodeGen

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GitHub.VisualStudio   2.2.0.8
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Merq   1.1.14-alpha (21c13c9)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Mono Debugging for Visual Studio   Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2015 ENU   14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Python Tools for Visual Studio   2.2.50113.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.

Python Tools for Visual Studio - Django Integration   2.2.50113.00
Provides templates and integration for the Django web framework.

Python Tools for Visual Studio - Profiling Support   2.2.50113.00
Profiling support for Python projects.

SQL Server Data Tools   14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual C++ for Cross Platform Mobile Development (Android)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (Android)

Visual C++ for Cross Platform Mobile Development (iOS)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (iOS)

Visual Studio Tools for Apache Cordova   Update 10
Visual Studio Tools for Apache Cordova

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   4.4.0.6 (eeb1b63)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.2.0.6 (b8e3884)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.8.0.26 (0e9e791)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 5 Luis Aguilera 2017-03-20 14:52:59 UTC
@ema... please see Jacky's updates. changing state to assigned
Comment 6 Tanmay Bhattacharjee 2017-03-21 08:20:51 UTC
This issue is also being observed with VS 2017.

Build info:
 - Microsoft Visual Studio Enterprise 2017 int.d15rel
 - Version 15.1 (26317.55) d15rel Internal (d15rel) PR
 - VisualStudio.15.int.d15rel/15.1.0+26317.55.d15rel
 - Microsoft .NET Framework
 - Version 4.6.01586
 - Xamarin 4.4.0.5 (8e30194d3)
 - Xamarin.Android SDK 7.2.0.6 (b8e3884)
 - Xamarin.iOS and Xamarin.Mac SDK 10.8.0.26 (0e9e791)
 
Attaching Detailed and Diagnostic log outputs, Error list output and screenshot for reference.
Comment 7 Tanmay Bhattacharjee 2017-03-21 08:21:33 UTC
Created attachment 20488 [details]
Logs form VS 2017
Comment 8 Jacky Waswani 2017-03-27 15:28:28 UTC
Created attachment 20904 [details]
Attachment as screencast & logs.

Issue observed with WatchOS for VS 2015.
Attaching Logs and Screen-Cast for the issue.

Screen-cast Link: https://www.screencast.com/t/X5mKTeFN0JX

Environment Info:
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA605
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

LightSwitch for Visual Studio 2015   00322-80000-00000-AA605
Microsoft LightSwitch for Visual Studio 2015

Visual Basic 2015   00322-80000-00000-AA605
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA605
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA605
Microsoft Visual C++ 2015

Visual F# 2015   00322-80000-00000-AA605
Microsoft Visual F# 2015

Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA605
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   7.18.00214.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1   14.1.21111.0
ASP.NET and Web Tools 2015.1

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Azure App Service Tools v3.0.0   14.0.30222.0
Azure App Service Tools v3.0.0

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.2.5000.0
Microsoft Azure Data Lake Tools for Visual Studio

Clang with Microsoft CodeGen   14.0.25516
Clang with Microsoft CodeGen

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GitHub.VisualStudio   2.2.0.8
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft .NET Core Tools (Preview 2)   14.1.21111.0
Microsoft .NET Core Tools (Preview 2)

Microsoft Azure Hive Query Language Service   2.2.5000.0
Language service for Hive query

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.50225.1

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Mono Debugging for Visual Studio   Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2015 ENU   14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Python Tools for Visual Studio   2.2.50113.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.

Python Tools for Visual Studio - Django Integration   2.2.50113.00
Provides templates and integration for the Django web framework.

Python Tools for Visual Studio - Profiling Support   2.2.50113.00
Profiling support for Python projects.

SQL Server Data Tools   14.0.60519.0
Microsoft SQL Server Data Tools

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual C++ for Cross Platform Mobile Development (Android)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (Android)

Visual C++ for Cross Platform Mobile Development (iOS)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (iOS)

Visual Studio Tools for Apache Cordova   Update 10
Visual Studio Tools for Apache Cordova

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   4.4.0.31 (511c8b5)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.2.0.7 (b16fb82)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.8.0.33 (06b241f)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 9 Neeraj Deshmukh 2017-04-03 13:27:16 UTC
Created attachment 21153 [details]
Ide Logs for Xamarin studio execution
Comment 10 Neeraj Deshmukh 2017-04-03 13:30:24 UTC
Same issue observed for following environment. Attaching IDE log.

=== Xamarin Studio Enterprise ===

Version 6.3 (build 861)
Installation UUID: 1556bf59-77b8-4ed6-abe9-32ef4bc21a9c
Runtime:
	Mono 4.8.0 (mono-4.8.0-branch/9d74414) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 408000524

=== NuGet ===

Version: 3.5.0.0

=== Xamarin.Profiler ===

Version: 1.3.2
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Xamarin.Android ===

Version: 7.2.0.7 (Visual Studio Enterprise Trial)
Android SDK: /Users/globallogic/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.4 (API level 19)
		6.0 (API level 23)
		7.1 (API level 25)

SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.3
SDK Build Tools Version: 25.0.1

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Apple Developer Tools ===

Xcode 8.3 (12169)
Build 8E162

=== Xamarin.iOS ===

Version: 10.8.0.175 (Visual Studio Enterprise Trial)
Hash: a04678c2
Branch: d15-1
Build date: 2017-03-28 14:05:38-0400

=== Xamarin.Mac ===


Version: 3.2.0.175 (Visual Studio Enterprise Trial)

=== Xamarin Inspector ===

Version: 1.1.2.0
Hash: cdc01b9
Branch: 1.1-release
Build date: Wed, 22 Feb 2017 23:24:11 GMT

=== Build Information ===

Release ID: 603000861
Git revision: 33ccca2a18f7b3e50c81dc4e03d9da1bf4b60a35
Build date: 2017-03-31 10:24:20-04
Xamarin addins: 773e41e599afc82a97dcc17d2278631fd05ebb96
Build lane: monodevelop-lion-d15-1

=== Operating System ===

Mac OS X 10.12.3
Darwin NAG1-DMAC-26706 16.4.0 Darwin Kernel Version 16.4.0
    Thu Dec 22 22:53:21 PST 2016
    root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
Comment 11 xamarin-release-manager 2017-04-12 19:26:50 UTC
Fixed in version 4.5.0.364 (d15-2)

Author: Emanuel
Commit: 4b74d4babc3c034df24fda87551bb037efc67187 (xamarin/XamarinVS)
Comment 12 Jose Gallardo 2017-04-12 19:29:37 UTC

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