Bug 43956 - "Show IPA on Build Server" button is disabled and greyed out in VS.
Summary: "Show IPA on Build Server" button is disabled and greyed out in VS.
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Xamarin.Forms ()
Version: 4.1.0 (C7)
Hardware: PC Windows
: Normal normal
Target Milestone: 4.4.0 (C10)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-01 21:48 UTC by Jon Goldberger [MSFT]
Modified: 2017-08-22 07:50 UTC (History)
8 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 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 FIXED

Description Jon Goldberger [MSFT] 2016-09-01 21:48:06 UTC
## Description

"Show IPA on Build Server" button is disabled and greyed out in VS after building Ad-Hoc|iPhone configuration on a new template Xamarin Forms solution or template iOS SingleView app project if the Project Properties are not open. 

## Steps to reproduce

1. Open Vs 2015 and create a new Xamarin Forms (Portable) solution or Xamarin iOS Single View app/

2. (Forms) Set the iOS app as the startup project. 

3. Select the Ad-Hoc|iPhone configuration. 

4. Open the iOS Project Properties->iOS IPA Options page and select the option to build an IPA. 

5. Note at this time that the "Show IPA on Build Server" option is enabled, but as expected it does not work as the IPA has not been built yet. 

6. Save Close the Project Properties.

7. Note that the "Show IPA on Build Server" button is now greyed out. 

8. Build the solution.

Expected result: "Show IPA on Build Server" will be enabled and work.

Actual Result: "Show IPA on Build Server" is greyed out and disabled. 

9. Now open the Project Properties for the iOS project again. 

Expected result: "Show IPA on Build Server" will be enabled and work.

Actual Result: As expected.


## Notes

I also tested on the current Beta channel, XVS version 4.2.0.628, and got the same results. 

## Environment

Microsoft Visual Studio Enterprise 2015
Version 14.0.25421.03 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA208
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.

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

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

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

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

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

Application Insights Tools for Visual Studio Package   7.4.00819.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015 (RC1 Update 1)   14.1.20203.0
ASP.NET and Web Tools 2015 (RC1 Update 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 v2.9   14.0.20316.0
Azure App Service Tools v2.9

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.0.6000.0
Microsoft Azure Data Lake Tools for Visual Studio

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

GitHub.VisualStudio   1.0
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

Microsoft Azure HDInsight HQL Service   2.0.6000.0
Language service for Hive query

Microsoft Azure HDInsight Tools for Visual Studio   2.0.6000.0
An integrated development environment for HDInsight application development.

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.40323.3

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

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

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.34.0
TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.25219.00
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.

Xamarin   4.1.2.18 (fcbe082)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.1.2.21 (1cf254d)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   9.8.2.22 (f37444a)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 1 Jon Goldberger [MSFT] 2017-06-20 23:19:47 UTC
This no longer seems to be an issue. Tested again with XVS 4.5.0.476 in VS 2015 and XVS 4.5.0.486 in VS 2017.
Comment 2 Jon Goldberger [MSFT] 2017-06-20 23:22:40 UTC
Additional note:

The "Show IPA on Build Server" button now seems to be always enabled, even if the solution has not been built yet so there would be no IPA to show. Clicking the button does not do anything in this case, as would be expected, but perhaps it should be disabled until the solution is built and there is actuallY an IPA to show?
Comment 3 Pierce Boggan [MSFT] 2017-06-21 02:27:34 UTC
Marking this as RESOLVED-FIXED, as it is not reproducible in the latest d15-3 builds:
https://www.screencast.com/t/gKmrTYjNe

Environment Info:
https://gist.github.com/pierceboggan/f1ffd9e92b04565eb494d4138e1a034a

Opening Bug #57649 for discussion on what @Jon Goldberger called out:
https://bugzilla.xamarin.com/show_bug.cgi?id=57649
Comment 4 Miha Markic 2017-08-21 06:51:28 UTC
Happening again with 4.6.0.295/VS2017 15.3.1
Comment 5 Miha Markic 2017-08-21 06:53:06 UTC
I was using the Release configuration, not Ad-hoc. Shouldn't be visible in Release configuration as well?
Comment 6 Prashant [MSFT] 2017-08-22 07:48:43 UTC
I don't see this happening in the following preview build - 

Microsoft Visual Studio Enterprise 2017 Preview
Version 15.3.1 Preview 1.0
VisualStudio.15.Preview/15.3.1-pre.1.0+26730.8
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Enterprise


Xamarin   4.7.0.827 (ddd8750)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK   7.5.0.3 (3e66e8e)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   10.14.0.4 (c70e3b5)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 7 Prashant [MSFT] 2017-08-22 07:50:18 UTC
Reply to comment #5

There is not lot of difference between _release_ and _ad-hoc_. Could you make sure that 
Build IPA is enabled in the iTunes?