473,378 Members | 1,451 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

ICodeCompiler CompilerParameters ReferencedAssemblies problem

Hi,

I am using a library for calling a web service dynamically (library
downloaded from
http://www.thinktecture.com/Resource.../default.html).

This works fine if I use it within a console application written in
C#.NET. However I am now trying to incorporate it into a COM dll
written in C#.NET. When running from the IDE and with the client
application in the same solution everything works fine. But if I call
it from another client app (either in debug mode or run mode) it fails
with error - "could not load metadata file
Thinktecture.Tools.Web.Services.Extensions.Message s.dll".

This error is in the downloaded library's method BuildAssemblyFromWsdl
where despite the cp.ReferencedAssemblies.Add(location +
"Thinktecture.Tools.Web.Services.Extensions.Messag es.dll") line, the
CompilerResults show this error. I have installed the
Thinktecture.Tools.Web.Services.Extensions.Message s.dll into the GAC (I
think - it certainly appears there) so what else could be wrong?

Any ideas? I have contacted the library's supplier also but it is not a
supported product and if you guys/gals have got any ideas I'd be
pleased to hear them.

Thanks
Phil

Nov 22 '05 #1
1 3345
Actually, although I think I've installed it in the GAC, it doesn't
appear in the list of .NET references available when I "Add Reference"
and I have to browse to the .dll.

This is probably the fundamental problem but I still don't have the
answer. Why does it appear in my Assembly Cache in .NET Framework 1.1
Configuration but not in my list of Add Reference assemblies? I've also
done a gacutil /l and it is listed there too.

thanks

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
11
by: Kostatus | last post by:
I have a virtual function in a base class, which is then overwritten by a function of the same name in a publically derived class. When I call the function using a pointer to the derived class...
1
by: phancey | last post by:
Hi, I am using a library for calling a web service dynamically (library downloaded from http://www.thinktecture.com/Resources/Software/DynWsLib/default.html). This works fine if I use it...
0
by: Tim Wallace | last post by:
OK, I'm resolved to the fact that I need to use ICodeCompiler to implement my client scripting feature for my C# 2.0 application, since VSA is going the way of the dodo bird. My question is this: ...
2
by: Eric | last post by:
Good morning, I am trying to compile a DLL on the fly using ICodeCompiler. While I am able to accomplish the task if I use a seperate code file along with CompileAssemblyFromFile, however, when...
1
by: Matt Gertz | last post by:
Phil, Thanks for the notification on this. I'm going to do some investigation on this today & try debugging through the problem, and I'll get back to you either this afternoon or tomorrow...
0
by: Cayze | last post by:
Hello all, I'm trying to use ICodeCompiler and was wondering if there's a way to pass it a project file (*.csproj, *.sln, *.vbproj, etc) to have it rebuild the project. I don't think there is,...
1
by: Marc Eaddy | last post by:
Hi, I'm trying to create an ICodeCompiler using the following code: CodeDomProvider cdp = new Microsoft.MCpp.MCppCodeProvider(); ICodeCompiler icc = cdp.CreateCompiler(); However,...
4
by: Thomas W. Brown | last post by:
I'm dynamically compiling some code and adding needed referenced assemblies. When I add references to DLLs using an absolute path there is no problem. When I add *relative* references to the system...
0
by: =?Utf-8?B?WmlnZ3lTaG9ydA==?= | last post by:
I can compile assemblies (eg using compiler.CompileAssemblyFromFile) and can reference an Interface provided it is linked as a dll and added via parms.ReferencedAssemblies.Add(path_and_name_of_dll)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.