Bug 10955 - Design / Code button does not show un in VS11
Summary: Design / Code button does not show un in VS11
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: unspecified
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-03-06 22:22 UTC by Ozge Yavuz
Modified: 2013-04-09 12:29 UTC (History)
2 users (show)

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


Attachments
screen capture (93.54 KB, image/jpeg)
2013-03-06 22:23 UTC, Ozge Yavuz
Details
VS2012 Debug Output Log (104.11 KB, text/plain)
2013-04-04 08:32 UTC, Daniel
Details
Updated Output Log (108.96 KB, text/plain)
2013-04-04 14:21 UTC, Daniel
Details
Plug In Folder Contents (1.20 MB, application/x-zip-compressed)
2013-04-04 15:09 UTC, Daniel
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 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 FIXED

Description Ozge Yavuz 2013-03-06 22:22:24 UTC
Design / Code button does not show un in VS11. Only way to swap between AXML and the designer view is to use Open With which forces the document closed and reopened.

This is happening with 4.6 release.

Screen capture attached.
Comment 1 Ozge Yavuz 2013-03-06 22:23:25 UTC
Created attachment 3544 [details]
screen capture
Comment 2 Lluis Sanchez 2013-03-26 09:58:40 UTC
Hi, could you please try the following?

* Start Visual Studio. Don't open the android project yet.
* Open the Windows task manager (right click on the dock bar)
* In the task manager, look for the devenv.exe, right click on it and select Debug. Then select new instance of VS
* A new instance of VS will be started, showing some output in the output window.
* Now go the the first instance of VS and open an Android project, and then open an axml file in the designer.
* In the second instance of VS you'll get more output. Please copy all of that and attach it here.

Thanks.
Comment 3 Daniel 2013-04-04 08:32:08 UTC
I noticed this issue too.

It was working fine when I had VS2010 and VS2012 installed in the machine, but after reinstalling the whole OS with ONLY VS2012, that no longer works.

The same goes with pretty much any icon in the Android or iOS tool bars (but I think that is a known issue)

I will attach the output log.

System:

- Windows 8 x64 Pro
- Visual Studio 2012 Ultimate
- Xamarin.Android 4.6.00049
- Xamarin.iOD 4.0.897
Comment 4 Daniel 2013-04-04 08:32:44 UTC
Created attachment 3748 [details]
VS2012 Debug Output Log
Comment 5 Lluis Sanchez 2013-04-04 13:58:14 UTC
Hi Daniel,

This is a replacement dll I'd like you to try:

https://dl.dropbox.com/u/492982/Mono.Android.VisualStudio.dll

It should replace to one you'll find here:

C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Xamarin\Xamarin.Android\4.6.00049

Make sure you make a copy of the old dll, so that you can revert the change. After replacing the dll, please do again the debug output capture I described above. This probably won't fix the issue, but it should provide more diagnostic information.
Comment 6 Daniel 2013-04-04 14:21:37 UTC
I had to save it in "c:\Program Files (x86)" because I have Windows x64.

I will attach the output.

Thank you!
Comment 7 Daniel 2013-04-04 14:21:58 UTC
Created attachment 3750 [details]
Updated Output Log
Comment 8 Lluis Sanchez 2013-04-04 15:01:53 UTC
Thanks for the log. Could you please zip the content of that folder and attach it here?
Comment 9 Daniel 2013-04-04 15:09:06 UTC
Created attachment 3751 [details]
Plug In Folder Contents

This folder contains the ORIGINAL dll files. The debug DLL is been renamed as .BAK
Comment 10 Lluis Sanchez 2013-04-05 10:36:44 UTC
I'm having no luck reproducing this issue. Could you please attach all version information of Visual Studio? (use the Copy Info button in the about box of VS).
Comment 11 Daniel 2013-04-05 10:49:53 UTC
Microsoft Visual Studio Ultimate 2012
Version 11.0.51106.01 Update 1
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Ultimate

Architecture and Modeling Tools   04940-004-0039002-02471
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 2012   04940-004-0039002-02471
Microsoft LightSwitch for Visual Studio 2012

Office Developer Tools   04940-004-0039002-02471
Microsoft Office Developer Tools

Team Explorer for Visual Studio 2012   04940-004-0039002-02471
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012   04940-004-0039002-02471
Microsoft Visual Basic 2012

Visual C# 2012   04940-004-0039002-02471
Microsoft Visual C# 2012

Visual C++ 2012   04940-004-0039002-02471
Microsoft Visual C++ 2012

Visual F# 2012   04940-004-0039002-02471
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker   04940-004-0039002-02471
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Visual Studio 2012 SharePoint Developer Tools   04940-004-0039002-02471
Microsoft Visual Studio 2012 SharePoint Developer Tools

Windows Phone SDK 8.0 - ENU   04940-004-0039002-02471
Windows Phone SDK 8.0 - ENU

CodeRush for Visual Studio   12.2

DXCore for Visual Studio   12.2
DXCore for Visual Studio

Microsoft Advertising SDK for Windows Phone   6.2.923.0
Microsoft Advertising SDK for Windows Phone
Build 6.2.923.0

Microsoft XNA Game Studio   4.0
Microsoft XNA Game Studio 4.0
Build 4.0.40906.0

MySQL Connector/Net   6.6.5
Data design and management tools for MySQL.  Copyright © 2007-2011 Oracle, Inc.

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

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

ReAttach   1.1
Gives you an easy way to ReAttach to prior debugging targets. For more information, see http://visualstudiogallery.msdn.microsoft.com/8cccc206-b9de-42ef-8f5a-160ad0f017ae.

SQL Server Data Tools   11.1.20905.0
Microsoft SQL Server Data Tools

Web Developer Tools   1.2.40308.0
Microsoft Web Developer Tools contains the following components:
Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
Web Form Templates: Includes the default templates for Web Form Applications.
Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

Windows Azure Tools   October 2012
Windows Azure Tools for Microsoft Visual Studio 2012 - October 2012 v1.8.51019.1603

Xamarin.Android   4.6.00049 (0e0e51f9)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   1.0.897 (b4c50138)
Visual Studio extension to enable development for Xamarin.iOS
Comment 12 Daniel 2013-04-05 10:58:56 UTC
One more thing... It used to work fine when I had Visual Studio 2010 and Visual Studio 2012 installed in the same machine.

Just in case... this is a ScreenCast: http://screencast.com/t/XWel8yihfEs

After formatting the computer and installing ONLY VS 2012, that option stop working.

Note:
-----
Like a month ago, in a different computer, I had VS 2012 (ONLY) and the buttons in the tools bar (Android and iOS) did not work. I had to install VS2010, reinstall VS2012 and Xamarin to make them work. 

I read somewhere that that was a known issue but I do not know if that is related with this issue or not.
Comment 13 Daniel 2013-04-07 16:03:34 UTC
Wrong screencast... this is the correct one: http://screencast.com/t/YcZceq63azea
Comment 15 PJ 2013-04-09 12:29:04 UTC
Hi, I reported that I could reproduce this on our current beta erroneously. I apologize for any confusion. I will make that comment private to hide my shame.

The behavior is fixed on the current beta, and you can get the build directly from http://download.xamarin.com/MonoforAndroid/Windows/mono-android-4.6.02001.msi

Hope this helps!

PJ