Re: VS 2003 compiling error



Try a rebuild. This removes all temporary files and builds.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"Sukhdev" <Sukhdev@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E317D4CA-C1E3-4ED9-BB68-AF1B57A85B57@xxxxxxxxxxxxxxxx
>I am having a weird problem with Visual Studio 2003 IDE. I am working on a
> solution that has about 20 projects. All of these projects are libraries
> except one which is the Startup project for the solution. The solution is
> connected to Visual Source Safe, and I opened the solution from the
> 'Source
> Control'.
>
> Now, whenever I make any change in the GUI using designer (or sometimes
> when
> I just change the code), I can not compile the solution after that. The
> build fails with the following error:
>
> Unable to write to output file 'C:\xxx\...Data.dll': The process cannot
> access the file because it is being used by another process.
>
> The name of the dll file in the error message is also not consistent. It
> comes up to be any one of the project dll's. When I see this error, I have
> no
> way to compile the solution even after I close and re-open the solution.
>
> There is only one trick that works .. Close the solution, delete the
> 'SolutionName.suo' file from the solution directory and then reopen the
> solution again. This trick is very cumbersome and I loose all my settings
> like open files, break points and all other IDE settings.
>
> Also, I always see an 'Unspecified error' message whenever I close this
> solution. I do not see this message box when I open any other
> project/solution.
>
> Does anyone else have similar problem!!! Any help will be appreciated.
>
> Thanks in Advance !!!!!
>
>
>
>


.



Relevant Pages

  • Re: JSP form beginner question
    ... Fred Fasle wrote: ... > and this seems to do the trick. ... in fact that won't even compile. ... Why not post the real code? ...
    (comp.lang.java.help)
  • gfortran bug or not?
    ... I use the following well-known trick for my numeric kinds: ... When i compile using the latest gfortran on Linux i get: ... trick for a long time and it is the first time that a compiler complains ...
    (comp.lang.fortran)
  • Re: .NET and sharing dlls?
    ... Mauro Venturini schreef: ... It does axactly that: compile an assembly... ... That should do the trick. ... I had to take this measure to counteract unsollicited mail.) ...
    (borland.public.delphi.non-technical)
  • Re: lsof: cant figure out how to show open files
    ... Did you find a pre-compiled version, or did you compile it yourself? ... Please post all follow-ups to the list. ... Subject: lsof: can't figure out how to show open files ...
    (AIX-L)
  • Re: ndpsmb and Active Directory
    ... > However, I'm trying to compile, and it fails trying to compile os2.h. ... > I think the reason is that it cannot have enough open files. ... Trevor Hemsley, Brighton, UK. ... Trevor-Hemsley at dsl dot pipex dot com ...
    (comp.os.os2.beta)