Hi,
I have an assembly in GAC that I'm using from an ASP.NET application. I'm
referencing it from my web app by inserting the <asemblies> section in
web.config:
<compilation>
<assemblies>
<add assembly=.... >
</assemblies></compilation>
Now I'm trying to use the same GAC assembly from a windows service project.
I added App.config to the project, I inserted the same <assemblies> section,
but it does not work.
I read that the <assemblies> section is used "during compilation of an
ASP.NET application". Does anybody know how to do the same thing for a
non-ASP.NET application (for a windows service application)?
Thanks
Mattias Sjögren - 11 Apr 2006 21:19 GMT
>I read that the <assemblies> section is used "during compilation of an
>ASP.NET application". Does anybody know how to do the same thing for a
>non-ASP.NET application (for a windows service application)?
Are you using Visual Studio? If so just reference the assembly from
the Solution Explorer. You'll need to point to a copy outside of the
GAC.
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.