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.

Signature
Michael
http://www.stunnware.com/crm
----------------------------------------------------------
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
[quoted text clipped - 11 lines]
> 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
Wamiq Ansari - 27 Feb 2006 09:50 GMT
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@msn.com
> Michael Höhne schrieb:
>
[quoted text clipped - 24 lines]
> Mfg,
> Alex