TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
meissnersd
NA
5
0
CodeDom does not see the GAC
Dec 18 2003 8:43 AM
I am writing a script compiler with the back end implemented with CodeDom. At the last stage I have generated a C# program based on my script. I am compiling the generated code with .Net CodeDom classes. The generated code contain referenced to assemblies with my library functions used by the script. So I add the reference to the assembly with compparams.ReferencedAssemblies.Add( "MyLibrary.dll" ); The problem happens when I do deployment. MyLibrary is in the GAC but CodeDom is not finding it. If I put a copy of the dll in the current working directory or into the .Net framework directory CodeDom finds the dll. It just does not get the dll from the GAC. Is there anyway to tell CodeDom 'search the GAC for your referenced dll' or is matter of naming the assembly correctly or something?
Reply
Answers (
0
)
Crystal Report
IP Packet Sniffing