Re: Problem with referenced projects

From: Carlos J. Quintero [.NET MVP] (carlosq_at_NOSPAMsogecable.com)
Date: 12/10/04


Date: Fri, 10 Dec 2004 10:34:13 +0100

You can start with:

PRB: The "Could Not Copy Temporary Files to the Output Directory" Error Is
Generated in Visual Studio .NET
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311491

-- 
Carlos J. Quintero
The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com
"Marc Manz" <manz@pits.de> escribió en el mensaje 
news:OuHqyeI2EHA.2644@TK2MSFTNGP11.phx.gbl...
> Hi everybody,
>
> Environment description:
>
> I have a .Net solution which contains 17 projects and this projects are
> referenced among each other. And ervery reference has the property "Locale
> Copy" set to true.
> The only difference to a normal project is, that all of the projects has 
> the
> same executing directory.
> The directory structur looks like follow:
>
> .\projects
> .\projects\bin <-- Executing directory for all projects
> .\projects\prj1
> .\projects\prj2
> .\projects\prj3
> ....
>
> In some cases, when i compile, the message "prj1.dll" could not be copied 
> in
> the excution directory, because the dll is in use by a other process"
> appears.
> To temporally resolve the problem, i have to shutdown the IDE delete all 
> the
> .\obj directories in all projects, restart the IDE and compilie again. But
> when I try to compilie second time, usually the the message appears again.
>
> Additions:
>
> Assuming the prj1 is class library project and the most of the other
> projects has references to to this project. Now, if you delete the prj.dll
> from the execution directory, start the VS IDE and open the solution. 
> After
> the IDE has opend the solution, take a look in the execution directory, 
> you
> will notice that the prj.dll, you delete before, will still exist in the
> directory.
> I found out, the other projects which has referenced the prj1 copy the
> prj.dll for the .\obj dir in exec dir.
> But I will not understand, why they are locking this dll????
>
> Any suggestions or help would be appreciated.
>
> Thanks
> Marc
>
> 


Relevant Pages

  • Problem with referenced projects
    ... And ervery reference has the property "Locale ... same executing directory. ... i have to shutdown the IDE delete all the ... when I try to compilie second time, usually the the message appears again. ...
    (microsoft.public.vsnet.ide)
  • Problem with referenced projects
    ... And ervery reference has the property "Locale ... same executing directory. ... i have to shutdown the IDE delete all the ... when I try to compilie second time, usually the the message appears again. ...
    (microsoft.public.vstudio.general)
  • Re: database project
    ... There are two different DB reference in VS 2005 IDE. ... each connection is encrypted and stored on local for each ... The .dbp file is the Database Project file. ...
    (microsoft.public.vsnet.ide)
  • Re: New Bootloader
    ... top level link for reference ... infrastructure of a BSP for a starting point. ... get the IDE to open a build window for you. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Visual Studio 2005 Beta 2
    ... I hate doing examples from books, I like doing stuff that I have a use for, ... > the Microsoft way of doing things (and Microsoft is pretty consistent with ... >> We didn't have the luxury of referencing some reference to a reference ... > everything I need to know about the Visual Studio IDE in the MSDN library. ...
    (microsoft.public.vstudio.general)

Loading