|
-
March 6th, 2011, 03:29 PM
#1
Add-in reference programmatically
hey
ive been on this for couple hours!!
i searched google but didnt find some useful thing about adding reference programmatically!
im writing an application which in some part of this application i need to generate some code in application's run time and create an exe file and run that .exe get some result from that, then cleanup every thing!
but my problem is i dont know how to add-in some reference
for example if i have something like this, when i compile generated codes i give compile error which indicate that i did not add references!!!!
Code:
// Some generated code here ...
// COMPILE ERROR : I DID NOT ADD ' SYSTEM.XML ' REFERENCE
System.Xml.XmlConvert obj = new System.Xml.XmlConvert();
// Some other generated code here ...
can someone give me some useful and correct code/reference ???
i need help ASAP
thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|