Closed pde-cds closed 2 years ago
Thanks for reporting. Note that this file is not strictly necessary to use SharpSvn. This file is only used when using svn+ssh:// connections in plink mode. SharpSvn also has an libssh2 mode that doesn't require the file at all. (And all other repository access protocols don't require either of these)
I'm aware of this but inside the SharpSVN.dll the SharpPlink-Win32.svnExe is referenced as Resource so this reference must be copied to the build folder.
Any solution on this?
I have tried this packages:
The errors stays the same.
The file SharpPlink-x64.svnExe is part of the nuget-package, but it is not extracted into the bin folder, when the nuget package is installed.
I have extracted the file SharpPlink-x64.svnExe
manually from the nuget package and stored it in the root of my project. In the file properties, I have configured: "Copy always". Then the file is copied always to the bin folder and I can compile successfully.
This is a dirty workaround and does not fix the problem at the root cause.
This issue should now be fixed in the nuget package for 1.14001.132. There is a now a .targets file that should copy the file for you with your project.
On build the referenced Resource SharpPlink-Win32.svnExe is not copied to the build directory when using the nuget package This file is need by SharpSvn.dll which is correctly copied to build folder.
Used package: https://www.nuget.org/packages/SharpSvn/1.14001.54 My Project is a .Net Framework 4.5