473,386 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Parsing C# source

Hi, in .NET 2.0 is there a was of parse some C# source code (string) to give
me a CodeCompileUnit. It appears that the CSharpCodeProvider.Parse() method
is not implemented! Arrrrg.

Kind regards

Graham
Nov 17 '05 #1
3 4577
Hi,

FYI, it does exist in all the previous versions.If it's not implemented,
well maybe that is why it's still in beta :)

Did you try using it as in previous versions ?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Graham Allwood" <gr***@newsgroups.nospam> wrote in message
news:OA**************@TK2MSFTNGP14.phx.gbl...
Hi, in .NET 2.0 is there a was of parse some C# source code (string) to
give me a CodeCompileUnit. It appears that the CSharpCodeProvider.Parse()
method is not implemented! Arrrrg.

Kind regards

Graham

Nov 17 '05 #2
Hi Ignacio,

No I have never used this before, have you? I have search google and seen
many question like this one, the answer so far is that MS decided not to
implement the C# source code parser (publically anyway!).

I was hoping that in Whidbey they would have or will do.

Graham

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:Ov**************@tk2msftngp13.phx.gbl...
Hi,

FYI, it does exist in all the previous versions.If it's not implemented,
well maybe that is why it's still in beta :)

Did you try using it as in previous versions ?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Graham Allwood" <gr***@newsgroups.nospam> wrote in message
news:OA**************@TK2MSFTNGP14.phx.gbl...
Hi, in .NET 2.0 is there a was of parse some C# source code (string) to
give me a CodeCompileUnit. It appears that the CSharpCodeProvider.Parse()
method is not implemented! Arrrrg.

Kind regards

Graham


Nov 17 '05 #3
Hi,

Nop , I have never used that part of the framework, sorry

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Graham Allwood" <gr***@newsgroups.nospam> wrote in message
news:uP**************@TK2MSFTNGP09.phx.gbl...
Hi Ignacio,

No I have never used this before, have you? I have search google and seen
many question like this one, the answer so far is that MS decided not to
implement the C# source code parser (publically anyway!).

I was hoping that in Whidbey they would have or will do.

Graham

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:Ov**************@tk2msftngp13.phx.gbl...
Hi,

FYI, it does exist in all the previous versions.If it's not implemented,
well maybe that is why it's still in beta :)

Did you try using it as in previous versions ?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Graham Allwood" <gr***@newsgroups.nospam> wrote in message
news:OA**************@TK2MSFTNGP14.phx.gbl...
Hi, in .NET 2.0 is there a was of parse some C# source code (string) to
give me a CodeCompileUnit. It appears that the
CSharpCodeProvider.Parse() method is not implemented! Arrrrg.

Kind regards

Graham



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Willem Ligtenberg | last post by:
I want to parse a very large (2.4 gig) XML file (bioinformatics ofcourse :)) But I have no clue how to do that. Most things I see read the entire xml file at once. That isn't going to work here...
2
by: Cigdem | last post by:
Hello, I am trying to parse the XML files that the user selects(XML files are on anoher OS400 system called "wkdis3"). But i am permenantly getting that error: Directory0: \\wkdis3\ROOT\home...
3
by: Pir8 | last post by:
I have a complex xml file, which contains stories within a magazine. The structure of the xml file is as follows: <?xml version="1.0" encoding="ISO-8859-1" ?> <magazine> <story>...
8
by: pradeepsarathy | last post by:
Hi all, Does the SAX parser has eventhandlers for parsing xml schema. Can we parse the xml schema the same way as we parse the xml document using SAX Parser. Thanks in advance. -pradeep
4
by: Rick Walsh | last post by:
I have an HTML table in the following format: <table> <tr><td>Header 1</td><td>Header 2</td></tr> <tr><td>1</td><td>2</td></tr> <tr><td>3</td><td>4</td></tr> <tr><td>5</td><td>6</td></tr>...
31
by: David Cramer | last post by:
If you had an application that you were about to begin development on which you wanted to be cross platform (at least Mac and Windows), would you suggest using c++ and Python? I'm asking because...
0
by: Mitchel Haas | last post by:
I've noticed several inquiries in the past for libraries/toolkits to generate or parse xhtml. Although there are already a few libraries available for this purpose, I'd like to announce a new...
1
by: Sidhartha | last post by:
Hi, I am facing a problem while parsing local language characters using sax parser. We use DOM to parse and SAX to read the source. But when our application parses strings with local language...
1
by: Stuart Shay | last post by:
Hello All: I am working on parsing the Amazon Key word search webservice for the Editorial Reviews Content containing "Amazon.Com Review" in the Source element. <EditorialReviews>...
1
by: hd95 | last post by:
In a perfect world my xml feed source would produce perfect xml ..that is not the case I am parsing an XML feed that sometimes has ampersands and dashes in the content that messes up my parsing. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.