Shadow folder Auto Recompile when web.config changes

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
bb2222
Posts: 4
Joined: Tue Nov 11, 2008 3:22 pm

Shadow folder Auto Recompile when web.config changes

Post by bb2222 » Wed Nov 12, 2008 1:45 pm

I am not sure whether this is a Vault Shadow Folder question or an ASP.NET compilation question or both but I can not seem to solve this problem for the life of me. I have Vault all set up and working using VS 2005, a shadow folder is set up so checked in files are automatically updated in a folder that has a virtual directory assigned to it and will house the live version of our app. When checking back in .aspx pages the changes are added to to the shadow folder and are visible immediately on the files in the shadow folder. When we make a change to a .cs file and/or web.config, the changes are also posted to the files in the shadow folder but upon accessing these pages through the web, there is no auto recompilation to the application and as a result, the changes are never actually committed to the live site even though all of the code changes were put into place.

My questions are, why does the auto recompile not function when the .NET files are accessed though the web on the virtual directory that points to the shadow folder where changes to class and config files have been made? Does anyone know how to get around this issue? Do I need VS on the server to load and build the solution on the server? (That last question seems like a bad option, just throwing it out there)


I looked over the following post and the links suggested in the reply but I did not see anything that answered my question specifically
http://support.sourcegear.com/viewtopic ... der#p45821

Any help would be greatly appreciated.
Brent

bb2222
Posts: 4
Joined: Tue Nov 11, 2008 3:22 pm

Re: Shadow folder Auto Recompile when web.config changes

Post by bb2222 » Wed Nov 12, 2008 3:02 pm

I found the solution to this problem.

Thanks,
Brent

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Shadow folder Auto Recompile when web.config changes

Post by lbauer » Wed Nov 12, 2008 3:53 pm

The Vault shadow folder service gets the latest version of files from the shadow of folder in the repository. It doesn't do any type of compiling. You would need to use some other tool (like Visual Studio) to compile the files in the shadow folder directory.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply