|
-
August 19th, 2011, 06:59 PM
#1
codedomprovider references help
When I use the codedomprovider compiler I add .NET references by simply adding the path name:
foreach (string str in referenceList)
{
cp.ReferencedAssemblies.Add(str);
}
This works okay when normal .NET libraries but when I add my own .dll the compiled EXE will only work if the .dll is in the root folder of the EXE even if the path was set at something different. Why is this? Can the codedom by set to copy the dll to the root automatically so it doesn't throw this error?
Last edited by wurdup; August 21st, 2011 at 07:59 AM.
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
|