Skip to content


Browse files Browse the repository at this point in the history
Adding the task to the project file to publish to a more sane directory.
  • Loading branch information
cobusbernard committed Feb 19, 2016
1 parent 5430cae commit 3ed4384
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/WebApi.Template/WebApi.Template.csproj
Expand Up @@ -266,4 +266,28 @@
<Target Name="AfterBuild">
</Target> -->
<PackagePath Condition=" '$(PackagePath)'=='' ">Website</PackagePath>
<EnableAddReplaceToUpdatePacakgePath Condition=" '$(EnableAddReplaceToUpdatePacakgePath)'=='' ">true</EnableAddReplaceToUpdatePacakgePath>
<Target Name="AddReplaceRuleForAppPath" Condition=" '$(EnableAddReplaceToUpdatePacakgePath)'=='true' ">
<!-- escape the text into a regex -->
<EscapeTextForRegularExpressions Text="$(_PkgPathFull)">
<Output TaskParameter="Result" PropertyName="_PkgPathRegex" />
<!-- add the replace rule to update the path -->
<MsDeployReplaceRules Include="replaceFullPath">

0 comments on commit 3ed4384

Please sign in to comment.