{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2425","repository_url":"https://api.github.com/repos/xamarin/xamarin-android","labels_url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2425/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2425/comments","events_url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2425/events","html_url":"https://github.com/xamarin/xamarin-android/issues/2425","id":379539430,"node_id":"MDU6SXNzdWUzNzk1Mzk0MzA=","number":2425,"title":"VS unresponsive when leaving unsaved layout file","user":{"login":"rihadavid","id":15065185,"node_id":"MDQ6VXNlcjE1MDY1MTg1","avatar_url":"https://avatars2.githubusercontent.com/u/15065185?v=4","gravatar_id":"","url":"https://api.github.com/users/rihadavid","html_url":"https://github.com/rihadavid","followers_url":"https://api.github.com/users/rihadavid/followers","following_url":"https://api.github.com/users/rihadavid/following{/other_user}","gists_url":"https://api.github.com/users/rihadavid/gists{/gist_id}","starred_url":"https://api.github.com/users/rihadavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rihadavid/subscriptions","organizations_url":"https://api.github.com/users/rihadavid/orgs","repos_url":"https://api.github.com/users/rihadavid/repos","events_url":"https://api.github.com/users/rihadavid/events{/privacy}","received_events_url":"https://api.github.com/users/rihadavid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-11T16:36:05Z","updated_at":"2018-12-03T16:09:36Z","closed_at":null,"author_association":"NONE","body":"### Steps to Reproduce\r\n\r\n1. Create a sample single view Android App project\r\n2. Open `MainActivity.cs` and `activity_main.axml`\r\n3. Change anything in the axml code and do not save the file\r\n4. Switch to MainActivity.cs\r\n\r\n### Expected Behavior\r\nShould be instant\r\n\r\n### Actual Behavior\r\nWhile switching to the `.cs` file, VS becomes unresponsive for about a second. In my real (much bigger) project this is about 4 seconds.\r\nIt happens on every single switch from the `.axml` file to the `.cs` file, but only if the changes to `.axml` file are not saved.\r\nI believe this is not an intended behaviour, there is probably some stuff that needs to be done when leaving the file (but even that is questionable, since we did not save the file, what needs to be done?), but this should not be done on a UI thread, right?\r\n\r\n### Version Information\r\n```\r\nMicrosoft Visual Studio Community 2017 \r\nVersion 15.8.9\r\nVisualStudio.15.Release/15.8.9+28010.2050\r\nMicrosoft .NET Framework\r\nVersion 4.7.03056\r\n\r\nInstalled Version: Community\r\n\r\nASP.NET and Web Tools 2017   15.8.05085.0\r\nASP.NET and Web Tools 2017\r\n\r\nASP.NET Core Razor Language Services   15.8.31590\r\nProvides languages services for ASP.NET Core Razor.\r\n\r\nAWS Toolkit for Visual Studio 2017   1.14.4.1\r\nAWS Toolkit for Visual Studio 2017.\r\nCopyright 2011-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r\n\r\nRelease notes: https://aws-vs-toolkit.s3.amazonaws.com/versioninfo.html\r\n\r\nThis software includes third party software subject to the following copyrights:\r\n- Logging from log4net, Apache License \r\n  [http://logging.apache.org/log4net/license.html]\r\n- Putty for PPK to PEM conversion, MIT license \r\n  [http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html]\r\n- NGit for AWS Elastic Beanstalk incremental push\r\n  [https://github.com/mono/ngit/blob/master/NGit.license.txt]\r\n- NSch dependency for NGit\r\n  [https://github.com/mono/ngit/blob/master/NSch.license.txt]\r\n- Sharpen dependency for NGit\r\n  [https://github.com/mono/ngit/blob/master/Sharpen/AssemblyInfo.cs]\r\n- ICSharpCode.SharpZipLib dependency for NGit\r\n  [http://www.icsharpcode.net/opensource/sharpziplib/]\r\n- Mono.Posix.dll and Mono.Security.dll dependencies for NGit\r\n  [http://mono-project.com/FAQ:_Licensing#Licensing]\r\n- MPFProj for Visual Studio Project Framework\r\n  [http://mpfproj10.codeplex.com/license]\r\n- JSON Checker for JSON validation\r\n  [http://www.raboof.com/projects/jsonchecker/]\r\n- Newtonsoft Json.NET\r\n  [http://www.newtonsoft.com/json] \r\n- YamlDotNet\r\n  [http://aaubry.net/pages/yamldotnet.html] \r\n    \r\n\r\nC# Tools   2.9.0-beta8-63208-01\r\nC# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.\r\n\r\nCommon Azure Tools   1.10\r\nProvides common services for use by Azure Mobile Services and Microsoft Azure Tools.\r\n\r\nExtensibility Message Bus   1.1.49 (remotes/origin/d15-8@ee674f3)\r\nProvides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.\r\n\r\nMicrosoft JVM Debugger   1.0\r\nProvides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines\r\n\r\nMicrosoft MI-Based Debugger   1.0\r\nProvides support for connecting Visual Studio to MI compatible debuggers\r\n\r\nMono Debugging for Visual Studio   4.11.11-pre (8fb558f)\r\nSupport for debugging Mono processes with Visual Studio.\r\n\r\nNuGet Package Manager   4.6.0\r\nNuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.\r\n\r\nProjectServicesPackage Extension   1.0\r\nProjectServicesPackage Visual Studio Extension Detailed Info\r\n\r\nResourcePackage Extension   1.0\r\nResourcePackage Visual Studio Extension Detailed Info\r\n\r\nResourcePackage Extension   1.0\r\nResourcePackage Visual Studio Extension Detailed Info\r\n\r\nVisual Basic Tools   2.9.0-beta8-63208-01\r\nVisual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.\r\n\r\nVisual F# Tools 10.2 for F# 4.5   15.8.0.0.  Commit Hash: 55a3dc3231c95c77f81ee53f7d29152029da7408.\r\nMicrosoft Visual F# Tools 10.2 for F# 4.5\r\n\r\nVisual Studio Code Debug Adapter Host Package   1.0\r\nInterop layer for hosting Visual Studio Code debug adapters in Visual Studio\r\n\r\nVisualStudio.Mac   1.0\r\nMac Extension for Visual Studio\r\n\r\nXamarin   4.11.0.779 (d15-8@ff915e800)\r\nVisual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.\r\n\r\nXamarin Designer   4.15.12 (d7ff6f39c)\r\nVisual Studio extension to enable Xamarin Designer tools in Visual Studio.\r\n\r\nXamarin Templates   1.1.118 (4217ee9)\r\nTemplates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.\r\n\r\nXamarin.Android SDK   9.0.0.19 (HEAD/a8a3b0ec7)\r\nXamarin.Android Reference Assemblies and MSBuild support.\r\n\r\nXamarin.iOS and Xamarin.Mac SDK   12.1.0.15 (cbfb047)\r\nXamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.\r\n```"},"comment":{"url":"https://api.github.com/repos/xamarin/xamarin-android/issues/comments/443765653","html_url":"https://github.com/xamarin/xamarin-android/issues/2425#issuecomment-443765653","issue_url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2425","id":443765653,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzc2NTY1Mw==","user":{"login":"rihadavid","id":15065185,"node_id":"MDQ6VXNlcjE1MDY1MTg1","avatar_url":"https://avatars2.githubusercontent.com/u/15065185?v=4","gravatar_id":"","url":"https://api.github.com/users/rihadavid","html_url":"https://github.com/rihadavid","followers_url":"https://api.github.com/users/rihadavid/followers","following_url":"https://api.github.com/users/rihadavid/following{/other_user}","gists_url":"https://api.github.com/users/rihadavid/gists{/gist_id}","starred_url":"https://api.github.com/users/rihadavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rihadavid/subscriptions","organizations_url":"https://api.github.com/users/rihadavid/orgs","repos_url":"https://api.github.com/users/rihadavid/repos","events_url":"https://api.github.com/users/rihadavid/events{/privacy}","received_events_url":"https://api.github.com/users/rihadavid/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T16:09:36Z","updated_at":"2018-12-03T16:09:36Z","author_association":"NONE","body":"So, what about this one? :) It's getting really annoying 😩 @jonathanpeppers maybe?"}}
{"actor":{"display_login":"rihadavid"}}