B
brianlanning
We have a web application in 2003. The solution contains the project
for the web application and five other projects for shared assemblies.
We have two issues.
The first is that we want to place the entire solution in some other
directory like c:\work rather than wwwroot. We can use vss to do a get
latest version, but as soon as we open the solution from within visual
studio, vs copies the main web application source files to a new
inetpub/wwwroot/projectname directory under wwwroot. What we want is a
virtual directory in wwwroot, but the files somewhere else. This is
causing us a problem because we now have two copies of all the source
files in that project, one copy in the c:\work area and another in the
wwwroot/project name area. The weird thing is that we've been able to
make this work before, but can't now. Any idea what's wrong? We've
deleted the vscache directory and made sure the bindings are correct.
We've also made sure the directories are set correctly in vss. Any
ideas?
The second problem is that this solution no longer cleanly builds.
Somtimes we can build individual projects correctly. But if you
rebuild the entire solution, it fails. It tells us that it can't write
the output to the working directory because the DLL file is locked by
another process. In this case, we know the other process is visual
studio. And the DLL in question actually builds. It's like it builds,
then doesn't release the lock on the DLL, then tries to build it again
encountering the error. One clue may be that we started to encounter
problems when we directed all the projects to build to a common
directory, a stupid policy from the build/deployment department. None
of the file names are the same though so this shouldn't be an issue.
And everything builds correctly for the other department from their
command line utility. Any idea what's going on with this one?
brian
for the web application and five other projects for shared assemblies.
We have two issues.
The first is that we want to place the entire solution in some other
directory like c:\work rather than wwwroot. We can use vss to do a get
latest version, but as soon as we open the solution from within visual
studio, vs copies the main web application source files to a new
inetpub/wwwroot/projectname directory under wwwroot. What we want is a
virtual directory in wwwroot, but the files somewhere else. This is
causing us a problem because we now have two copies of all the source
files in that project, one copy in the c:\work area and another in the
wwwroot/project name area. The weird thing is that we've been able to
make this work before, but can't now. Any idea what's wrong? We've
deleted the vscache directory and made sure the bindings are correct.
We've also made sure the directories are set correctly in vss. Any
ideas?
The second problem is that this solution no longer cleanly builds.
Somtimes we can build individual projects correctly. But if you
rebuild the entire solution, it fails. It tells us that it can't write
the output to the working directory because the DLL file is locked by
another process. In this case, we know the other process is visual
studio. And the DLL in question actually builds. It's like it builds,
then doesn't release the lock on the DLL, then tries to build it again
encountering the error. One clue may be that we started to encounter
problems when we directed all the projects to build to a common
directory, a stupid policy from the build/deployment department. None
of the file names are the same though so this shouldn't be an issue.
And everything builds correctly for the other department from their
command line utility. Any idea what's going on with this one?
brian