Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > .NET Framework 3.5
.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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 7th, 2008, 03:53 PM
Authorized User
Join Date: Oct 2004
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?

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

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.