Re: VS.NET 1.1 Command Line Compile Problems



Hi Bob,

I have an assembly that, when compiled from within VS.NET, installs to the
GAC without any issues. However, when I use the command line compiler, I
receive an error when using gacutil to install it in the GAC.

Which version of gacutil.exe are you using, and which VS.NET version? I'm
under the impression that you cannot mix a gacutil from a different version
than the .NET version you used to compile your assembly with. That is,
gacutil for .NET 1.1 won't work with 2.0 assemblies and vice versa.

Could this be the case with you? Other than that, it should make any
difference whether you use Visual Studio or CSC to compile your assembly.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
janij@xxxxxxxxxxxxxxxxxxxxxx
http://www.saunalahti.fi/janij/


.



Relevant Pages

  • Re: How to Obsolete two related classes?
    ... Remember assemblies in the GAC can be versioned. ... | I want to make /both/ of these classes Obsolete, ... I can compile my assembly and get Warnings if I try to ...
    (microsoft.public.dotnet.languages.vb)
  • Using GACUTIL for patches to report failures and not successes
    ... We currently use gacutil as part of our patch process to remove all current ... versions in the GAC). ... However we have nearly 100 assemblies and a lot of output is generated from ...
    (microsoft.public.dotnet.framework.clr)
  • Re: GAC assembly help needed
    ... > I have an VB.Net application that makes use of an assembly in the GAC. ... I then have 2 assemblies in the GAC with the same name ... > the new compile). ... > simply tell my app to use the original one. ...
    (microsoft.public.dotnet.framework)
  • Re: Using Custom Assembly Installed in GAC
    ... bin folder should I set the copy local=false? ... whether or not it is in the GAC. ... allow the app to use the one in bin over the GAC, if assemblies exist in both ... >> Using the GacUtil I created a SNK and deployed my assembly to the GAC ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: using GAC
    ... When you look at the GAC in explorer, it actually isn't a folder view. ... so that you can compile your code. ... you should drop your assemblies into a local folder, ...
    (microsoft.public.dotnet.languages.csharp)

Loading