Skip to content

Instantly share code, notes, and snippets.

@hagbarddenstore
Created June 17, 2014 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hagbarddenstore/8bde02cb72f2419c2cc3 to your computer and use it in GitHub Desktop.
Save hagbarddenstore/8bde02cb72f2419c2cc3 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Content Include="App.config">
<SubType>Designer</SubType>
</Content>
<Content Include="App.Base.config">
<DependentUpon>App.config</DependentUpon>
</Content>
<Content Include="App.Debug.config">
<DependentUpon>App.config</DependentUpon>
</Content>
<Content Include="App.Release.config">
<DependentUpon>App.config</DependentUpon>
</Content>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
<Target Name="BeforeBuild">
<TransformXml Source="App.Base.config" Transform="App.$(Configuration).config" Destination="App.config" />
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment