Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
AnswerRe: Read XML Into Class Hierarchy Pin
#realJSOP28-Mar-11 10:03
mve#realJSOP28-Mar-11 10:03 
QuestionDrag and drop not working in windows 7 if application is launched as administrator with UAC enabled Pin
abhinish28-Mar-11 4:09
abhinish28-Mar-11 4:09 
QuestionHow to enable disable Hibernation option by using C# code. Pin
Piyush Vaishnav27-Mar-11 23:33
Piyush Vaishnav27-Mar-11 23:33 
AnswerRe: How to enable disable Hibernation option by using C# code. Pin
Pravin Patil, Mumbai28-Mar-11 1:55
Pravin Patil, Mumbai28-Mar-11 1:55 
AnswerRe: How to enable disable Hibernation option by using C# code. Pin
PIEBALDconsult28-Mar-11 3:01
mvePIEBALDconsult28-Mar-11 3:01 
AnswerRe: How to enable disable Hibernation option by using C# code. Pin
Dave Kreskowiak28-Mar-11 4:17
mveDave Kreskowiak28-Mar-11 4:17 
AnswerRe: How to enable disable Hibernation option by using C# code. Pin
Shameel28-Mar-11 5:34
professionalShameel28-Mar-11 5:34 
QuestionExposing the running assembly to run-time compiled code Pin
Quiltfish27-Mar-11 9:56
Quiltfish27-Mar-11 9:56 
[background info]

For a project I'm working on I'm looking at using run-time compilation of regular cs files into an appdomain separate from the running assembly (to disallow filesystem and network access) and reference the objects the files define. This is becaues there will be alot of additions to the group of objects those files represent, while the core of the program should remain the same. I'm using the Microsoft.CSharp.CSharpCodeProvider object to do the compilation.

[/background info]

Now, I would like to expose the running assembly's public classes and interfaces so that the run-time compiled code may reference and make use of them. First and foremost it's for exposing an interface that every object compiled this way must implement. I am not completely sure how to accomplish this, even after trawling through intellisense and msdn.

Anybody got any clues for me?If I am unclear anywhere or additional info is needed, just ask!
AnswerRe: Exposing the running assembly to run-time compiled code Pin
Bernhard Hiller27-Mar-11 21:14
Bernhard Hiller27-Mar-11 21:14 
AnswerRe: Exposing the running assembly to run-time compiled code Pin
Wayne Gaylard27-Mar-11 21:16
professionalWayne Gaylard27-Mar-11 21:16 
GeneralRe: Exposing the running assembly to run-time compiled code Pin
Quiltfish27-Mar-11 23:36
Quiltfish27-Mar-11 23:36 
GeneralRe: Exposing the running assembly to run-time compiled code Pin
Wayne Gaylard27-Mar-11 23:55
professionalWayne Gaylard27-Mar-11 23:55 
AnswerRe: Exposing the running assembly to run-time compiled code Pin
_Erik_28-Mar-11 4:17
_Erik_28-Mar-11 4:17 
GeneralRe: Exposing the running assembly to run-time compiled code [modified] Pin
Quiltfish28-Mar-11 22:28
Quiltfish28-Mar-11 22:28 
GeneralRe: Exposing the running assembly to run-time compiled code Pin
BobJanova30-Mar-11 23:53
BobJanova30-Mar-11 23:53 
Questionproblem with sending message to serial port with timer [modified] Pin
Honeyboy_2027-Mar-11 8:36
Honeyboy_2027-Mar-11 8:36 
AnswerRe: problem with sending message to serial port with timer Pin
Luc Pattyn27-Mar-11 9:11
sitebuilderLuc Pattyn27-Mar-11 9:11 
GeneralRe: problem with sending message to serial port with timer Pin
Honeyboy_2027-Mar-11 12:39
Honeyboy_2027-Mar-11 12:39 
AnswerRe: problem with sending message to serial port with timer [modified] Pin
Luc Pattyn27-Mar-11 12:54
sitebuilderLuc Pattyn27-Mar-11 12:54 
Questionrun project in network Pin
jojoba201127-Mar-11 6:34
jojoba201127-Mar-11 6:34 
AnswerRe: run project in network Pin
Dalek Dave27-Mar-11 6:47
professionalDalek Dave27-Mar-11 6:47 
GeneralRe: run project in network Pin
jojoba201127-Mar-11 6:53
jojoba201127-Mar-11 6:53 
GeneralRe: run project in network Pin
Dalek Dave27-Mar-11 7:06
professionalDalek Dave27-Mar-11 7:06 
GeneralRe: run project in network Pin
Dave Kreskowiak27-Mar-11 7:50
mveDave Kreskowiak27-Mar-11 7:50 
GeneralRe: run project in network Pin
Ganesh Kumar Kaki13-Apr-11 2:42
Ganesh Kumar Kaki13-Apr-11 2:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.