Christopher Reed wrote:
Download and install the .NET 2.0 SDK and then use gacutil.exe for
that to put a 2.0 assembly into the GAC.
gacutil is part of the framework, it is not part of the SDK. If the OP
has the framework on the target machine then gacutil *should* be
available.
the express edition? I tried using the GACUTIL.EXE from the VS.net 2003
edition but I get an UNKNOWN ERROR? Is there any other way to deploy
the assembly to the GAC?
Don't use gacutil 'from' VS2003 because it is for v1.1. VB.NET Express
is v2.0 and will produce v2.0 assemblies. In fact the gacutil you use is
not from VS2003, it is actually part of the v1.1 framework installed by
VS2003 (ie, if you remove VS2003 but leave .NET 1.1 you will still be
able to call gacutil). Similarly VB.NET Express installs v2.0 of the
framework and you should use gacutil from that.
Basically you have a PATH issue. The install of VB.NET Expess should (I
don't know for sure because I've not used it, but it *should*) give you
a batch file that will set up the paths, and it should give you a
console short cut that will create a console that has the paths set.
Basically you need to call gacutil from
%windir%\Microsoft.NET\Framework\v2.0.50727.
Richard
--
Free .NET tutorials,
Fusion:
http://www.grimes.demon.co.uk/workshops/fusionWS.htm
Security:
http://www.grimes.demon.co.uk/workshops/securityWS.htm