Trying to get all resource files in solution and display their filenames RRS feed

  • Question

  • I am building a visual studio Add-in, and I am trying to get all the resource files(.resx) in a solution and display them into a listview. The code I came up with doesn't seem to do anything, so I was hoping someone could take a look at it. I am not trying to just get the name of them I want to display the full path to the files aswell.

    Even if I could get all resource files for individual projects, then that is a start. I would appreciate any help.

    Private Sub btnGo_Click(sender As Object, e As EventArgs, ByVal resourceFiles As    Common.ResourceFileCollection)
          If resourceFiles IsNot Nothing Then
            For Each resourceFile As Common.ResourceFile In resourceFiles
        End If
     End Sub

    Monday, December 10, 2012 6:52 PM