Skip to content

Commit

Permalink
Generate source for Resources.resx
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Jun 2, 2020
1 parent 2a80edd commit e7ef414
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 100 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" Version="$(MicrosoftCodeAnalysisVisualBasicVersionVS2019)" />
</ItemGroup>
<ItemGroup>
<Compile Update="Resources.Designer.vb">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources.resx">
<SubType>Designer</SubType>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Resources.resx" GenerateSource="true" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Public Module SyntaxDgmlHelper

#Region "GetLabel*"
Private Function GetLabelForNode(node As SyntaxNode) As String
Return String.Format(My.Resources.Resources.SyntaxNodeLabel, node.GetKind())
Return String.Format(Roslyn.SyntaxVisualizer.DgmlHelper.Resources.SyntaxNodeLabel, node.GetKind())
End Function

Private Function GetLabelForToken(token As SyntaxToken) As String
Expand All @@ -228,7 +228,7 @@ Public Module SyntaxDgmlHelper
End If
End If

Return String.Format(My.Resources.Resources.SyntaxTokenLabel, label)
Return String.Format(Roslyn.SyntaxVisualizer.DgmlHelper.Resources.SyntaxTokenLabel, label)
End Function

Private Function GetLabelForTrivia(trivia As SyntaxTrivia) As String
Expand Down

0 comments on commit e7ef414

Please sign in to comment.