Re: Compile to GAC from VS
- From: "Wamiq Ansari" <wamiq@xxxxxxx>
- Date: Mon, 27 Feb 2006 09:50:40 -0000
Hi,
Most of Microsoft Solutions involving Office 2003 use 'Shadow Copying'
(C:\Docuemnt settings\<username>\........). Could I suggest using .NET
Security Policy (CASPOL) to avoid GACing your dlls. I think I use CASPOL and
have never have to delete my Shadow Copy folder to read latest build. The
following might be useful for Office Solution development:
http://msdn2.microsoft.com/en-us/library/zcfbd2sk.aspx
Best regards,
Wamiq
wamiq@xxxxxxx
"Alexander Mueller" <millerax@xxxxxxxxxxx> wrote in message
news:eerTFB4OGHA.344@xxxxxxxxxxxxxxxxxxxxxxx
Michael Höhne schrieb:
I ran into that problem several times. If you do not update the version
number of your assembly, the .NET framework uses a cached assembly in
your C:\Document and Settings\<username>\Lokale Settings\Application
Data\assembly folder. It will be stored somewhere beneath a DL2 or DL3
folder. I placed a simple batch into that folder, removing all assemblies
in there.
@echo off
@prompt $g
del *.dll /s /q
pause
Whenever I have the problems you mentioned, I click it and all assemblies
are gone and you're working with your current implementation. You can add
the batch file to a custom build script to automate this process.
Hi Michael,
thanks very much for your response. It didn't even know this folder
exists. As you proposed, removing the cached dlls actually solves
the problem. Btw, I have no idea how to create a custom built script.
Could you point out, where to integrate a script into the project,
is it under <project-options>-<compile>-<build events>?
Mfg,
Alex
.
- References:
- Compile to GAC from VS
- From: Alexander Mueller
- Re: Compile to GAC from VS
- From: Michael Höhne
- Re: Compile to GAC from VS
- From: Alexander Mueller
- Compile to GAC from VS
- Prev by Date: Re: Compile to GAC from VS
- Next by Date: Excel: UserForm, RefEdit
- Previous by thread: Re: Compile to GAC from VS
- Next by thread: Excel: UserForm, RefEdit
- Index(es):
Relevant Pages
|