Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > .NET Framework 3.5
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Framework 3.5 For discussion of the Microsoft .NET Framework 3.5.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 3.5 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 7th, 2008, 03:53 PM
Authorized User
 
Join Date: Oct 2004
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default dynamic compilation of class based on xsd

I know that there are classes like ICodeCompiler where in I can create dynamic instances of a class. For example:
ICodeCompiler comp = new CSharpCodeProvider().CreateCompiler();
After this I can go on and create a class and add it runtime to a dll.

Similarly, I want to point to a xsd and create a dynamic class and add it to a dll in run time. ( I know from command line I can do this using xsd.exe, but I want to avoid it.) Then I want to instantiate and object from the created class and populate it by reading the xml. Are there any classes in .NET that can do this?
Is this even possible?

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XSD.EXE Gen’d C# Deserializing w/ .xsd Subst Group greenstone XML 0 November 9th, 2007 09:27 PM
Compilation error when declare class bluebeta Visual C++ 0 April 26th, 2006 03:11 AM
Compilation error when declare class bluebeta Visual C++ 0 April 26th, 2006 03:06 AM
developing interface based on .XSD software_developer_kk Classic ASP XML 0 April 22nd, 2005 07:33 AM
Dynamic Compilation lala1 Servlets 0 October 28th, 2003 04:21 AM



All times are GMT -4. The time now is 04:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.