J
jack
Trying to make a utility that
- Reads a VB.Net source file
- Parses it into it's constuent parts
- Evaluates and modifies as required
- Saves the source
I thought that the CodeDom and the VBCodeProvider would be the way to
go.
I can gen code and compile it, but I can not figure out how to parse a
VB.Net file into a CodeCompileUnit. (Neither CreateParser or Parse
seems to work)
How to I read a VB.Net source file into theee code dom so that I can
progaramatically inspect it.
Am I going down the wrong path?
Jack Stephenson
- Reads a VB.Net source file
- Parses it into it's constuent parts
- Evaluates and modifies as required
- Saves the source
I thought that the CodeDom and the VBCodeProvider would be the way to
go.
I can gen code and compile it, but I can not figure out how to parse a
VB.Net file into a CodeCompileUnit. (Neither CreateParser or Parse
seems to work)
How to I read a VB.Net source file into theee code dom so that I can
progaramatically inspect it.
Am I going down the wrong path?
Jack Stephenson