Can't build CompositeWeb (Attrib and copy commands fail)

Topics: Web Guidance v-Next (not WCSF)
Apr 30, 2010 at 10:15 PM
Edited Apr 30, 2010 at 10:18 PM

The post-build event for the CompositeWeb project is:

Attrib -R /S  $(SolutionDir)..\Lib\WCSFBlocks\*.*
copy $(TargetPath) $(SolutionDir)..\Lib\WCSFBlocks

The two commands fail because the ".." after $(SolutionDir) is not resolved to going back one level in the directory structure. Instead, the Attrib command for example is issued in the following type of format:

Attrib -R /S  C:\Users\Gilles\Documents\Visual Studio 2010\Projects\WCSF2010.Sourece\BlocksTrunk\Source\CompositeWeb\..\Lib\WCSFBlocks\*.*

To work properly and in respect of the directory structure of the drop, it should resolve to

Attrib -R /S  C:\Users\Gilles\Documents\Visual Studio 2010\Projects\WCSF2010.Sourece\Trunk\Source\Lib\WCSFBlocks\*.*

How can I make this work properly?


May 12, 2010 at 4:38 PM

Hi Gilles,

Thanks for letting us know of this issue, I will notify the team about it. To workaround this issue you can build the WebClientFactory Guidance Package (VSTS Tests).sln and it will automatically copy the assemblies to that directory or you could do it manually. The assemblies are:

  1. AjaxControlToolkit.WCSFExtensions.dll
  2. Microsoft.Practices.CompositeWeb.dll
  3. Microsoft.Practices.CompositeWeb.EnterpriseLibrary.dll
  4. Microsoft.Practices.Web.UI.WebControls.dll

Please let me know if this helps.

Damian Schenkelman