Commits

Christian Specht committed 20d9af1

if App.config doesn't exist, copy and rename App.config.example before build
(fixes #2)

  • Participants
  • Parent commits 24da78a

Comments (0)

Files changed (1)

File src/BitbucketBackup/BitbucketBackup.csproj

   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
+       -->
   <Target Name="BeforeBuild">
+    <Copy
+      Condition="!Exists('App.config')"
+      SourceFiles="App.config.example" 
+      DestinationFiles="App.config"/>
   </Target>
   <Target Name="AfterBuild">
   </Target>
-  -->
 </Project>