postsharp / Metalama

Metalama is a Roslyn-based meta-programming framework. Use this repo to report bugs or ask questions.
176 stars 5 forks source link

XAML Editor does not work after installing Metalama visual studio extension #232

Closed thomasschoeneggerprojects closed 11 months ago

thomasschoeneggerprojects commented 11 months ago

After installing metalama visual studio extension working in XAML editor for .NET6 WPF applications does not work anymore. This shows up as Visual studio crashing and requiring a restart. I had no choice to uninstall this extension. It is not possible to work with it.

I installed the metalama VS extension on different computer. https://marketplace.visualstudio.com/items?itemName=PostSharpTechnologies.Metalama

Target info:

Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.6.6

Installed Products

Microsoft Visual Studio Professional 2022 Version 17.6.6 VisualStudio.17.Release/17.6.6+33927.249 Microsoft .NET Framework Version 4.8.09032

Installed Version: Professional

ADL Tools Service Provider 1.0 This package contains services used by Data Lake tools

ASA Service Provider 1.0

ASP.NET and Web Tools 17.6.326.62524 ASP.NET and Web Tools

Azure App Service Tools v3.0.0 17.6.326.62524 Azure App Service Tools v3.0.0

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

Azure Functions and Web Jobs Tools 17.6.326.62524 Azure Functions and Web Jobs Tools

Azure Stream Analytics Tools for Visual Studio 2.6.5000.0 Microsoft Azure Stream Analytics Tools for Visual Studio

C# Tools 4.6.0-3.23329.3+5db000294db8cc634e7d8fc004844338c9747dbc C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

CodeMaid 12.0 CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

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

Extensibility Message Bus 1.4.21 (main@8f226a8) Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

FireGiant HeatWave 1.0.2.1 Visual Studio tooling for WiX projects. For more information about HeatWave, visit http://www.firegiant.com.

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

Microsoft Azure Stream Analytics Language Service 2.6.5000.0 Language service for Azure Stream Analytics

Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Mono Debugging for Visual Studio 17.6.41 (790a401) Support for debugging Mono processes with Visual Studio.

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

PatternFactory Extension 1.0 PatternFactory Visual Studio Extension Detailed Info

Razor (ASP.NET Core) 17.6.0.2327201+a6a61fdfa748eaa65aab53dab583276e26af4a3e Provides languages services for ASP.NET Core Razor.

SonarLint for Visual Studio 7.3.0.77872 SonarLint is an extension to your favorite IDE that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code.

SQL Server Data Tools 17.6.15.1 Microsoft SQL Server Data Tools

StylerPackage Extension 1.0 StylerPackage Visual Stuido Extension Detailed Info

Syntax Visualizer 1.0 An extension for visualizing Roslyn SyntaxTrees.

ToolWindowHostedEditor 1.0 Hosting json editor into a tool window

TypeScript Tools 17.0.20329.2001 TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools 4.6.0-3.23329.3+5db000294db8cc634e7d8fc004844338c9747dbc Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 17.6.0-beta.23174.5+0207bea1afae48d9351ac26fb51afc8260de0a97 Microsoft Visual F# Tools

Visual Studio IntelliCode 2.2 AI-assisted development for Visual Studio.

VisualStudio.DeviceLog 1.0 Information about my package

VisualStudio.Mac 1.0 Mac Extension for Visual Studio

VSPackage Extension 1.0 VSPackage Visual Studio Extension Detailed Info

WiX Toolset Visual Studio Extension 1.0.0.22 WiX Toolset Visual Studio Extension version 1.0.0.22 Copyright (c) .NET Foundation and contributors. All rights reserved.

Xamarin 17.6.0.251 (d17-6@318364c) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 17.6.6.0 (remotes/origin/d17-6@cb430751d1) Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 17.6.32 (98c12a2) Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK 13.2.0.6 (d17-5/a200af1) Xamarin.Android Reference Assemblies and MSBuild support. Mono: 6dd9def Java.Interop: xamarin/java.interop/d17-5@149d70fe SQLite: xamarin/sqlite/3.40.1@68c69d8 Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-5@9f02d77

Xamarin.iOS and Xamarin.Mac SDK 16.4.0.6 (97731c92c) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

System info

OS Microsoft Windows 11 Pro Version 10.0.22621 Build 22621 LENOVO

PostSharpBot commented 11 months ago

Hello @thomasschoeneggerprojects, thank you for submitting this issue. We will try to get back to you as soon as possible. Note to the PostSharp team, this ticket is being tracked in our dashboard under ID TP-34026.

prochan2 commented 11 months ago

Hello, I wasn't able to reproduce this with Visual Studio 2022 17.6.6 Professional. And Metalama 2023.3.8, the latest stable release. Could you please try upgrading the extension and Metalama NuGet packages? If the issue persists, could you please collect all logs as described at https://doc.metalama.net/conceptual/configuration/creating-logs? Just set true for all the processes and for "trace *". We would then investigate further.

gfraiteur commented 11 months ago

Link to the Slack conversation: https://metalama.slack.com/archives/C03Q89ZGAQJ/p1697782454457849

Zu-Hy commented 11 months ago

Hi Thomas, This message reminds you that your request is pending and awaits your feedback. If we do not hear back from you, we will close this ticket. We look forward to your response. Thank you

Zu-Hy commented 11 months ago

Hi Thomas, Please note we received no response, so that I will close the ticket. If you need anything, please do not hesitate to contact us; we will be happy to help. Zuzana