<!--<UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" />-->
<Target Name="BeforeBuild">
<!-- Generates the transformed Web.config in the intermediate (bin\Debug) directory -->
<TransformXml Condition="exists('Web.$(Configuration).config')" Source="Web.config" Destination="$(IntermediateOutputPath)Web.config" Transform="Web.$(Configuration).config" />
<!-- Overwrites the original Web.config with the transformed configuration file -->
<Copy SourceFiles="$(IntermediateOutputPath)Web.config" DestinationFolder="$(ProjectDir)" />
<Message Text="### BeforeBuild ### - $(IntermediateOutputPath)" Importance="high" />
<Message Text="### MSBuildExtensionsPath ### - $(MSBuildExtensionsPath)" Importance="high" />
</Target>
<!--$(COMPUTERNAME)-->