User-549722499 posted
I am having a big issue with AfterBuild....it doesn't seem to be firing for VS2008. VS2005 seems to work just fine.
Basically I am trying to over write a web.config file with the correct one for the specific enviroment. Here is one of my target sections, I have done this with no conditions as well. We do this in VS2005 and works no problem for another project,
but VS2008 doesn't even seem to call this command. Should it be something else.
I know there was a problem with the Beta version of WDP, but I have the final release and everything I am finding stated this is fix and everyone who had an issue was with the Beta version.
Any help would be great, this has been blowing my mind.
<Target
Name="AfterBuild"
Condition=" '$(Configuration)|$(Platform)' == 'QAS|AnyCPU'
">
<
Copy
SourceFiles="$(SourceWebPhysicalPath)\Web-QAS.config"
DestinationFiles="$(WDTargetDir)\Web.config" />
</
Target>