Skip to content

Commit

Permalink
Adds web.config.install.xdt
Browse files Browse the repository at this point in the history
  • Loading branch information
TimGeyssens committed Oct 2, 2015
1 parent c99feed commit 83f8d27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BuildPackages/Package.build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
<ViewFiles Include="$(CoreProjectDir)\App_Plugins\PageNotFoundManager\backoffice\dialogs\*.*" />
<NuSpecFile Include="$(MSBuildProjectDirectory)\package.nuspec" />
<NugetReadmeFile Include="$(MSBuildProjectDirectory)\readme.txt" />
<NugetXdtTranformFile Include="$(MSBuildProjectDirectory)\web.config.install.xdt" />
</ItemGroup>

<Copy SourceFiles="@(NuSpecFile)" DestinationFolder="$(BuildNuGetDir)" />
Expand All @@ -117,6 +118,7 @@
DestinationFiles="@(BinFiles->'$(BuildUmbDir)\bin\%(RecursiveDir)%(Filename)%(Extension)')" />


<Copy SourceFiles="@(NugetXdtTranformFile)" DestinationFolder="$(BuildNuGetDir)\Content\" />
<Copy SourceFiles="@(NugetReadmeFile)" DestinationFolder="$(BuildNuGetDir)\" />
<Copy SourceFiles="@(ConfigFiles)" DestinationFolder="$(BuildNuGetDir)\Content\App_Plugins\PageNotFoundManager\" />
<Copy SourceFiles="@(ScriptsFiles)" DestinationFolder="$(BuildNuGetDir)\Content\App_Plugins\PageNotFoundManager\js\" />
Expand Down
6 changes: 6 additions & 0 deletions BuildPackages/web.config.install.xdt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.webServer>
<httpErrors existingResponse="PassThrough" xdt:Transform="Insert"/>
</system.webServer>
</configuration>

0 comments on commit 83f8d27

Please sign in to comment.