SEARCH:   GO
{Blog entries}
By Javier Callico on 8/18/2009 12:00 AM

Since the buildpublisher task copies all files on the source directory, including the .cs files, a custom MSBuild script is needed to take advantage of the _CopyWebApplication option which will only copy the runtime files. An additional step is required to copy any other required assembly on the bin directory since only the application's main assembly is originally copied when using the _CopyWebApplication option.

By Javier Callico on 8/3/2009 12:00 AM

Using the FOR command and an unzip program, like the free 7-Zip, all the files in a given folder can be easily unzipped (using C:\Temp in this example):

for /f "tokens=*" %%G in ('dir /b "C:\Temp\*.zip"') do "C:\Program Files\7-Zip\7z.exe" e -y "C:\Temp\%%G"