Re: How to stop updating DLLs?




"Brett Romero" <account@xxxxxxxxx> wrote in message
news:1137197835.433780.75990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Say I have four projects - one is an EXE and three are DLLs. The EXE
> references all three DLLs. If I update one of the DLLs and compile,
> next time I run my EXE project, it will get the latest version of the
> changed DLL and use it. How do I keep the EXE project from getting the
> latest version of a DLL? I'd like it to use the version in its bin
> folder (b/c copy local is true).
>


Create a \lib folder as a sibling to your exe's .bin folder. Deploy the
..DLL's there and use a binary reference instad of a project reference. Then
the EXE, when built, will copy the version in the \lib folder instead of the
latest version.

David


.



Relevant Pages

  • Re: seeking guidance to solve compatibility problems in automated buil
    ... The product consists of a single exe and a number of dlls. ... If I open the failed component project in VB6, and reselect the reference, ... I understand that this has something to do with binary compatibility but the ...
    (microsoft.public.vb.general.discussion)
  • Re: Platform builder executable wont run in Windows explorer
    ... I believe that your problem is related to the release folder stuff. ... just the EXE (the other DLLs are almost certainly built into the device ROM ...
    (microsoft.public.windowsce.embedded)
  • Re: cant cast ABC to ABC (same class???)
    ... Dll1 (no references for this in the main exe build) extends Base to Derived. ... The main exe loads up the dlls at run time and, through the interface, calls ... interfaces in a separate project and reference it from both other DLLs. ...
    (microsoft.public.dotnet.general)
  • Re: Add Reference
    ... The dll and all the dlls it uses appear ... > in the newly created bin folder. ... > getting an error that a type in one temporary folder conflicts with another ... - The page can't use the reference directly but... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Platform builder executable wont run in Windows explorer
    ... You are right that those dlls are in .\Windows folder on my target. ... just the EXE (the other DLLs are almost certainly built into the device ROM ...
    (microsoft.public.windowsce.embedded)