I’m trying to build duplicati from the source on Windows 10 (I’m trying to add some logging to analyze Restore fails when creating empty files at the end of restore process)
I’m familiar with java but not really familiar with .net
I’ve seen How to build from source · duplicati/duplicati Wiki · GitHub and installed Visual Rules Studio Community 2019 and I’ve also tried to install Download Visual Studio 2019 for Windows & Mac.
Building with the VS IDE Fails and building with the build tools on the cli fail as well:
"C:\work\oss\duplicati\src3\Duplicati CommandLine Only.sln" (Standardziel) (1) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\Utility\Duplicati.Library.Utility.csproj" (Standardziel) (2) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\Localization\Duplicati.Library.Localization.csproj" (Standardziel) (4:2) ->
(ResolveAssemblyReferences Ziel) ->
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2084,5): warning MSB3245: Dieser Verweis konnte nicht aufgelöst werden. Die "NGettext, Version=0.6.1.0, Culture
=neutral, processorArchitecture=MSIL"-Assembly wurde nicht gefunden. Stellen Sie sicher, dass die Assembly auf dem Datenträger vorhanden ist. Falls dieser Verweis im Code erforderlich ist, können Kompilierungsfehler auftreten. [C:\work\
oss\duplicati\src3\Duplicati\Library\Localization\Duplicati.Library.Localization.csproj]
"C:\work\oss\duplicati\src3\Duplicati CommandLine Only.sln" (Standardziel) (1) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\Utility\Duplicati.Library.Utility.csproj" (Standardziel) (2) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\Common\Duplicati.Library.Common.csproj" (Standardziel) (3:2) ->
(EnsureNuGetPackageBuildImports Ziel) ->
C:\work\oss\duplicati\src3\Duplicati\Library\Common\Duplicati.Library.Common.csproj(106,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more info
rmation, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\..\..\packages\AlphaVSS.1.4.0\build\net45\AlphaVSS.targets.
"C:\work\oss\duplicati\src3\Duplicati CommandLine Only.sln" (Standardziel) (1) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\Utility\Duplicati.Library.Utility.csproj" (Standardziel) (2) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\Localization\Duplicati.Library.Localization.csproj" (Standardziel) (4:2) ->
(CoreCompile Ziel) ->
MoLocalizationService.cs(24,7): error CS0246: Der Typ- oder Namespacename "NGettext" wurde nicht gefunden (möglicherweise fehlt eine using-Direktive oder ein Assemblyverweis). [C:\work\oss\duplicati\src3\Duplicati\Library\Localization
\Duplicati.Library.Localization.csproj]
MoLocalizationService.cs(36,26): error CS0246: Der Typ- oder Namespacename "ICatalog" wurde nicht gefunden (möglicherweise fehlt eine using-Direktive oder ein Assemblyverweis). [C:\work\oss\duplicati\src3\Duplicati\Library\Localizatio
n\Duplicati.Library.Localization.csproj]
"C:\work\oss\duplicati\src3\Duplicati CommandLine Only.sln" (Standardziel) (1) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\Main\Duplicati.Library.Main.csproj" (Standardziel) (6) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\Snapshots\Duplicati.Library.Snapshots.csproj" (Standardziel) (9:2) ->
(EnsureNuGetPackageBuildImports Ziel) ->
C:\work\oss\duplicati\src3\Duplicati\Library\Snapshots\Duplicati.Library.Snapshots.csproj(134,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For mor
e information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\..\..\packages\AlphaVSS.1.4.0\build\net45\AlphaVSS.targets.
"C:\work\oss\duplicati\src3\Duplicati CommandLine Only.sln" (Standardziel) (1) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\Main\Duplicati.Library.Main.csproj" (Standardziel) (6) ->
"C:\work\oss\duplicati\src3\Duplicati\Library\SQLiteHelper\Duplicati.Library.SQLiteHelper.csproj" (Standardziel) (10:2) ->
C:\work\oss\duplicati\src3\Duplicati\Library\SQLiteHelper\Duplicati.Library.SQLiteHelper.csproj(117,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. F
or more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets.
1 Warnung(en)
5 Fehler
Are there any more detailed instructions for how to build? I will not develop any fancy features, I just want to add some more detailed logging so no need of an IDE if not needed.