Re: Add .NET Reference in VS 2005




<john@xxxxxxxxxxxxxxx> wrote in message
news:1133874834.581522.137750@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> David,
>
> The reason I want my code-behind in the GAC is for deployment. We have
> user controls and pages running in a customized SharePoint portal.
> SharePoint has several different applications and hence several bin
> directories. It was very simple to maintain a single assembly in the
> GAC rather than having multiple copies in each bin directory.
>
> Have you actually tried putting a precompiled assembly in the GAC? It
> wouldn't go for me, and I assumed this is because 0.0.0.0 doesn't
> qualify as a version.
>

Yes, I tested it. I set the project properties to generate strong named
assemblies, added a key file and precompiled the site. Then I GAC'd the
assemblies. Then I copied the site to another folder and deleted the
assemblies in the \bin folder and created a new virtual directory pointing
to the application folder.

David


.



Relevant Pages

  • RE: AppDomain wont recycle on web.config change since 1.1 to 2.0
    ... All assemblies are in the GAC. ... All assemblies are in the GAC, we do not have a /bin folder. ... application restart and even it did, some assembly will not load correctly ...
    (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)
  • Re: Appl. Security Problems
    ... Recompile your three assemblies in release mode. ... If any copies ended up the GAC (for example, ... Attempt to run the EXE from the network folder. ...
    (microsoft.public.dotnet.security)
  • Global Assembly Cache
    ... I took over a legacy e-commerce project that utilized.NET 1.1 to create the website code and all associated assemblies. ... Right now they have a separate directory for each store, complete with a \bin folder that contains about 20 DLL files. ... Can I simply drop these DLL files in the GAC and then delete the corresponding DLL files in the \bin folder for each site? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: .NET versioning
    ... >> If this isn't dll hell then it's awfully close. ... > xcopy deployment, which thus means avoid the GAC if possible. ... > 2) if required, and if you really have to, copy the files to the GAC. ... If you overwrite assemblies in the GAC ...
    (microsoft.public.dotnet.framework)

Loading