From 1e85d5d33ccfb168a9d5e4e400c4bd554b79751d Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Tue, 2 Jun 2020 17:43:44 -0700 Subject: [PATCH] Generate source for Resources.resx Fixes #327 --- .../Resources.Designer.vb | 85 ------------------- .../Roslyn.SyntaxVisualizer.DgmlHelper.vbproj | 14 +-- 2 files changed, 1 insertion(+), 98 deletions(-) delete mode 100644 src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Resources.Designer.vb 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 deleted file mode 100644 index 683e765d1..000000000 --- a/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Resources.Designer.vb +++ /dev/null @@ -1,85 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Imports System - -Namespace Roslyn.SyntaxVisualizer.DgmlHelper.My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - ''' - ''' A strongly-typed resource class, for looking up localized strings, etc. - ''' - _ - Friend Class Resources - - Private Shared resourceMan As Global.System.Resources.ResourceManager - - Private Shared resourceCulture As Global.System.Globalization.CultureInfo - - _ - Friend Sub New() - MyBase.New - End Sub - - ''' - ''' Returns the cached ResourceManager instance used by this class. - ''' - _ - 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) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ''' - ''' Overrides the current thread's CurrentUICulture property for all - ''' resource lookups using this strongly typed resource class. - ''' - _ - Friend Shared Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set - resourceCulture = value - End Set - End Property - - ''' - ''' Looks up a localized string similar to {0} Node. - ''' - Friend Shared ReadOnly Property SyntaxNodeLabel() As String - Get - Return ResourceManager.GetString("SyntaxNodeLabel", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to '{0}' Token. - ''' - Friend Shared ReadOnly Property SyntaxTokenLabel() As String - Get - Return ResourceManager.GetString("SyntaxTokenLabel", resourceCulture) - End Get - End Property - End Class -End Namespace diff --git a/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Roslyn.SyntaxVisualizer.DgmlHelper.vbproj b/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Roslyn.SyntaxVisualizer.DgmlHelper.vbproj index ea068593c..2e4b803c9 100644 --- a/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Roslyn.SyntaxVisualizer.DgmlHelper.vbproj +++ b/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.DgmlHelper/Roslyn.SyntaxVisualizer.DgmlHelper.vbproj @@ -13,18 +13,6 @@ - - True - True - Resources.resx - - - - - Designer - Roslyn.SyntaxVisualizer.DgmlHelper.My.Resources - ResXFileCodeGenerator - Resources.Designer.vb - + \ No newline at end of file