Closed Srfigie closed 7 years ago
Update - I am able to get it to load when using the following views -13.3" Desktop (1280 x 720) 100% scale -23" Desktop (1920 x 1080) 100 % scale The issue seems to be with this control template and other screen sizes like phone, hololens, or xbox display previews.
Ok, thanks for the clues, we will try to repro it. Can you confirm which screen size / resoultion you where using when crashed? was that a phone emulator?
Thanks in advance.
maybe this will be more helpful I just did this to reproduce the issue in a new project.
Full Reproduction steps
As a side note, any of the desktop or tablet previews seem to work in the designer view with this xaml, I am just having trouble with the other ones. (phone, xbox, hololens etc)
I've tried to reproduce it on two different computers with the following configuration.
Visual Studio Version: 15.1 (26403.7) Windows version: 10.0.15063.296
Visual Studio Version: 15.2 (26430.4) Windows version: 10.0.15063.296
I can't reproduce it. Could you please add a comment with the version you are using?
I am using Visual Studio Enterprise 2017 15.2 (26430.6) Windows 10.0.15063.296
Hi @Srfigie, do you have any exception / error event in the event viewer? It looks like something related to your Visual Studio instance...
Just tested in Visual Studio Enterprise Version: 15.2 (26430.12) and Windows version: 10.0.15063.296 and loads fine:
Can you try to update the VS version to the latest update and try again?
Hello,
Yes this is the error I am receiving while running the latest version of VS (downloaded the update yesterday, Full version details below).
[image: Inline image 1]
I am not seeing this issue with any other projects where I have not used Template Studio.
Full Visual Studio Installation information below (Help -> About Visual Studio -> "Copy Info")
Microsoft Visual Studio Enterprise 2017 Version 15.2 (26430.12) Release VisualStudio.15.Release/15.2.0+26430.12 Microsoft .NET Framework Version 4.7.02046
Installed Version: Enterprise
Architecture Diagrams and Analysis Tools 00369-60000-00001-AA375 Microsoft Architecture Diagrams and Analysis Tools
Visual Basic 2017 00369-60000-00001-AA375 Microsoft Visual Basic 2017
Visual C# 2017 00369-60000-00001-AA375 Microsoft Visual C# 2017
Visual C++ 2017 00369-60000-00001-AA375 Microsoft Visual C++ 2017
Visual F# 4.1 00369-60000-00001-AA375 Microsoft Visual F# 4.1
ASP.NET and Web Tools 2017 15.0.30503.0 ASP.NET and Web Tools 2017
ASP.NET Web Frameworks and Tools 2017 5.2.50303.0 For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 15.0.30209.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
Common Azure Tools 1.9 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Fabric.DiagnosticEvents 1.0 Fabric Diagnostic Events
JavaScript Language Service 2.0 JavaScript Language Service
JavaScript Project System 2.0 JavaScript Project System
JavaScript UWP Project System 2.0 JavaScript UWP 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 Azure Hive Query Language Service 2.2.5000.0 Language service for Hive query
Microsoft Azure Tools 2.9 Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1
Microsoft MI-Based Debugger 1.0 Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio VC Package 1.0 Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio Mono.Debugging.VisualStudio Support for debugging Mono processes with Visual Studio.
Node.js Tools 1.3.50417.1 Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager 4.2.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Office Developer Tools for Visual Studio 2017 ENU 15.0.26309 Microsoft Office Developer Tools for Visual Studio 2017 ENU
Redgate ReadyRoll 1.13.22.3147 Extend DevOps processes to your SQL Server databases and safely automate database deployments.
Visit https://www.red-gate.com/readyroll for more information.
Copyright (C) 2011 Red Gate Software Ltd. All rights reserved.
This software contains components from Component Owl. SQL Server is a registered trademark of Microsoft Corporation. Visual Studio is a registered trademark of Microsoft Corporation.
ReadyRoll contains code from the following open source software:
NuGet https://www.nuget.org/ SQL LocalDB Wrapper https://github.com/martincostello/sqllocaldb Autofac https://autofac.org/ Json.NET https://json.net/ MahApps.Metro http://mahapps.com/ SemVer https://github.com/maxhauser/semver Menees Diff Controls http://www.menees.com/ Log4Net http://logging.apache.org/log4net/ Extended WPF Toolkit https://wpftoolkit.codeplex.com/ Code InfoBox VSX http://www.codeproject.com/Articles/55196/Code-InfoBox-Visual-Studio-Extension-VSX OctoPack https://github.com/OctopusDeploy/OctoPack SQLite https://sqlite.org/
This product contains icons from http://www.visualpharm.com distributed under a free backlink license.
For license details or other notices relating to the above software, please see NOTICE.TXT and EULA.rtf in the ReadyRoll application folder.
Redgate SQL Prompt 7.4.1.767 Write, format, and refactor SQL effortlessly
Redgate SQL Search 2.3.10.1131 Search functionality for SQL Server databases, from within Visual Studio
SQL Server Data Tools 15.1.61702.140 Microsoft SQL Server Data Tools
ToolWindowHostedEditor 1.0 Hosting json editor into a tool window
TypeScript 2.2.2.0 TypeScript tools for Visual Studio
Visual Studio Tools for Apache Cordova 15.113.6201.1 Visual Studio Tools for Apache Cordova
Visual Studio tools for CMake 1.0 Visual Studio tools for CMake
Visual Studio Tools for Unity 3.1.0.0 Visual Studio Tools for Unity
Visual Studio Tools for Universal Windows Apps 15.0.26430.06 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.5.0.476 (1be4f0c) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android SDK 7.3.1.2 (9dbc4c5) Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 10.10.0.35 (4cffddf) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Thanks!
On Wed, May 31, 2017 at 3:18 AM, Raúl Alarcón notifications@github.com wrote:
Hi @Srfigie https://github.com/srfigie, do you have any exception / error event in the event viewer? It looks like something related to your Visual Studio instance...
Just tested in Visual Studio Enterprise Version: 15.2 (26430.12) and Windows version: 10.0.15063.296 and loads fine: [image: image] https://cloud.githubusercontent.com/assets/2638875/26622327/56f5de20-45ea-11e7-9dc1-1d0b3f91d78c.png
Can you try to upload the VS version to the latest update and try again?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/WindowsTemplateStudio/issues/380#issuecomment-305119588, or mute the thread https://github.com/notifications/unsubscribe-auth/AFcn0hKQcZCGWueOf7K6b0ZrI4qfpGUIks5r_SJggaJpZM4NjrVP .
-- Thanks,
Sam Figie
Can you upload a project you generated?
Hi,
Here is the repo of the project I created to re-produce the issue.
@Srfigie I just tried this from your repo and detailcontrol opens. That leads me to believe there could be something weird with your VS install. I'm on 15.0.26430.4
I will try a repair installation and test again to see if the issue still persists.
On Mon, Jun 5, 2017 at 5:53 PM, Clint Rutkas notifications@github.com wrote:
@Srfigie https://github.com/srfigie I just tried this from your repo and detailcontrol opens. That leads me to believe there could be something weird with your VS install. I'm on 15.0.26430.4
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/WindowsTemplateStudio/issues/380#issuecomment-306333138, or mute the thread https://github.com/notifications/unsubscribe-auth/AFcn0miZr24oXJal4NMBRds2KUtcvZi1ks5sBIcBgaJpZM4NjrVP .
-- Thanks,
Sam Figie
After doing a repair installation to visual studio, and re-installing Template Studio, I am still getting the error where the MasterDetailContol view does not load in the designer.
Would multiple windows SDKs cause an issue? I have the following installed on my machine -10.0.10586.212 -10.0.14393.33 -10.0.14393.795 -10.0.15063.137 -10.0.26624
If I create a new UWP application and manually implement the Detail Page with detail controls, the view loads correctly in the designer using the exact same code as the one generated from template studio.
On Tue, Jun 6, 2017 at 7:58 AM, Sam Figie samfigie@gmail.com wrote:
I will try a repair installation and test again to see if the issue still persists.
On Mon, Jun 5, 2017 at 5:53 PM, Clint Rutkas notifications@github.com wrote:
@Srfigie https://github.com/srfigie I just tried this from your repo and detailcontrol opens. That leads me to believe there could be something weird with your VS install. I'm on 15.0.26430.4
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/WindowsTemplateStudio/issues/380#issuecomment-306333138, or mute the thread https://github.com/notifications/unsubscribe-auth/AFcn0miZr24oXJal4NMBRds2KUtcvZi1ks5sBIcBgaJpZM4NjrVP .
-- Thanks,
Sam Figie
-- Thanks,
Sam Figie
@Srfigie If you have two projects with the same code and one works but one doesn't there must be some unobvious difference. Can you do a diff on the two projects to highlight what must be some unobvious differences.
so every time you generate a master detail the designer crashes but if you create a blank then put our stuff in, it works?
@crutkas Correct, If I recreate the page with the same control by copying the code it works fine, it only happens when I generate the view through template studio.. I do have another machine I can test with as well to see if it is happening there for me as well. I will try that and let you know if it happens.
I can also reproduce this error with @Srfigie code.
But I can not reproduce by generating a new App with WTS.
@Srfigie are you still experiencing this?
Closing as no answer received. Feel free to reopen if needed.
After creating a details page in the initial wizard, the result is 3 Xaml files.
I am able to open these pages in the designer except for the DetailControl.xaml page. Everytime I open this, the designer locks up visual studio and crashes.
System.Runtime.Remoting.RemotingException [17660] Designer process terminated unexpectedly!
I am running Visual Studio 2017 Enterprise 15.2 (26430.6 release) -Visual Studio Tools for Universal Windows Apps (15.0.26430.06)
Windows 10 Enterprise 1703 Build 15063.0