Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Automated Refactoring w/ CodeDom and VBCodeProvider...
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 14th April 07:32
jack
External User
 
Posts: 1
Default Automated Refactoring w/ CodeDom and VBCodeProvider...



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
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666