Christian Specht  committed be75772

rename App.config.example to App.config in build script
(fixes #1)

  • Participants
  • Parent commits fcbdb82

Comments (0)

Files changed (3)

 ## Setup
 Bitbucket Backup loads all important values (your Bitbucket username and password, and the backup folder on your local machine) from a config file.
-Before you run Bitbucket Backup the first time, you need to provide your data.
-An example configuration file is included. You can find it here:
-You need to make a copy of this, change the name to **App.config** and edit the configuration values.
+Before you run Bitbucket Backup the first time, you need to edit **BitbucketBackup.exe.config** and provide your data.
     <Copy SourceFiles="@(ReleaseFiles)" DestinationFolder="$(ReleaseDir)"/>
+	<!-- rename App.config.example to app.config -->
+	<Copy 
+		SourceFiles="$(ReleaseDir)\App.config.example" 
+		DestinationFiles="$(ReleaseDir)\BitbucketBackup.exe.config"/>	
+	<Delete Files="$(ReleaseDir)\App.config.example"/>

File src/BitbucketBackup/BitbucketBackup.csproj

     <None Include="App.config" />
+    <None Include="App.config.example">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.