User2006178999 posted
Hi folks,
i'm trying to get my WDP to copy all the contents of the website that has been successfully compiled and sits in the WDP Output directory.
Currently, i've got the following MSBuild task...
<Target Name="AfterBuild">
<Copy DestinationFiles="@(PrecompiledOutput->'$(DestinationWebServer)%(RecursiveDir)%(Filename)%(Extension)')" SourceFiles="@(PrecompiledOutput)" />
</Target>
The tasks semi works - files are copied but not all. I'm not exactly sure WHAT files are not being copied across, but i know that the Application_Start and Session_Start are not getting fired. I also know that if i manually copy over ALL the files from the
WDP output directory to the destination web server (eg.
\\192.168.0.2\My Web Site) then the Application_Start/Session_Start _do_ get fired. This proves that the WDP does correctly build and compile the project successfully but my COPY task is not copying the correct information accross
nbsp;So - anyone know of a nice way to copy across all the files from the output dir to the web site
<CHEERS P < :)>