From 71b363634b31f42938da26517342fde19f5fac50 Mon Sep 17 00:00:00 2001 From: Danghor Date: Tue, 2 Jun 2020 21:56:24 +0200 Subject: [PATCH] Fix #327 Fixes a crash of the Directed Syntax Graph by using the correct base name for the ResourceManager. --- .../Roslyn.SyntaxVisualizer.DgmlHelper/Resources.Designer.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Resources.Designer.vb b/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Resources.Designer.vb index f97eb11be1..852c9ca173 100644 --- a/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Resources.Designer.vb +++ b/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Resources.Designer.vb @@ -43,7 +43,7 @@ Namespace My.Resources Friend Shared ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager Get If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Resources", GetType(Resources).Assembly) + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Roslyn.SyntaxVisualizer.DgmlHelper.Resources", GetType(Resources).Assembly) resourceMan = temp End If Return resourceMan