Berimor66 / duplicati

Automatically exported from code.google.com/p/duplicati
0 stars 0 forks source link

Add a How To Build wiki page #187

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There should be a wiki page describing the tools and the procedure for
building Duplicati from scratch.

Original issue reported on code.google.com by kenneth....@gmail.com on 9 Mar 2010 at 8:16

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/duplicati/wiki/HowToBuild 

A start - I'll add in registered user commits shortly.

Original comment by dddan...@gmail.com on 31 May 2010 at 5:03

GoogleCodeExporter commented 9 years ago
I had started trying to build in Mono but ran into an issue related to .net 
platform and properties.  It appears a fix may have been committed recently so 
I'll give it another try.

Original comment by aaron.hamid on 12 Sep 2010 at 11:56

GoogleCodeExporter commented 9 years ago
With the most recent SVN checkout and VS Express 2010 on Windows 7, I had to 
add this to the project properties to build successfully:

<startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0"/>
</startup>

The default v4 of the CLR that comes with Windows 7 can run .NET 2 assemblies, 
but unlike previous versions, this isn't its default behaviour. A "proper" fix 
is likely discussed here: 
http://www.mmowned.com/forums/world-of-warcraft/bots-programs/memory-editing/288
761-net-4-mixed-mode-assembly-loading.html

Original comment by achim.j....@gmail.com on 15 Oct 2010 at 2:55

GoogleCodeExporter commented 9 years ago
Ok, that must be because some of the dependencies are for v2.0.
Perhaps its time to upgrade to v4.0. If only MS would push the new .Net 
versions as regular Windows Update packages... :'(

I will try it out and update the HowToBuild wiki page.

(aaron.hamid: I have built with MonoDevelop recently without issues).

Original comment by kenneth....@gmail.com on 15 Oct 2010 at 3:24

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r575.

I have updated the app.config file to include the 
useLegacyV2RuntimeActivationPolicy="true" attribute, and I can open and run it 
directly from VS2010 (after upgrade wizard),
and it seems to retain the attribute, and not cause trouble for 2.0.

If someone wants to produce a installer from a VS2010 build, beware that the 
build script uses a custom app.config file which will overwrite this one.

Original comment by kenneth....@gmail.com on 2 Nov 2010 at 9:13

GoogleCodeExporter commented 9 years ago
Can it be compiled with the mono open source framework? So we can build it on 
any plateform ...

Original comment by gecka.company on 9 Mar 2012 at 6:19

GoogleCodeExporter commented 9 years ago
Yes, you can compile with Mono, rough steps:

svn checkout https://duplicati.googlecode.com/svn/trunk/ duplicati
cd duplicati/Installer/Makefile
make

But this will only compile the source in svn, and then use some pre-built 
libraries that I keep in the "thirdparty" folder. I have started work on a more 
holistic build script that will download the source for "thirdparty" and build 
everything from scratch so it can be included in the various open source repos.

You may want to use the 1.3.1 branch, as trunk is a bit weird atm, so just 
replace with:
svn checkout https://duplicati.googlecode.com/svn/branches/1.3.1 duplicati

Original comment by kenneth@hexad.dk on 9 Mar 2012 at 10:10

GoogleCodeExporter commented 9 years ago
Is this still an isue or can it be closed?

Original comment by rst...@gmail.com on 18 Apr 2012 at 5:50