-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi
This looks like an awesome project!
I've been trying to use the library in a small console application that only prints the svn version like so:
namespace ConsoleClient
{
class Program {
static void Main(string[] args) {
Console.WriteLine("Using LibSvnSharp");
Console.WriteLine(SvnClient.Version.ToString());
Console.WriteLine("done!");
}
}
}However I get the following error when trying to run it
Using LibSvnSharp
Unhandled Exception: System.EntryPointNotFoundException: Unable to find an entry point named 'svn_client_version' in DLL 'LibSvnSharp.Native.dll'.
at LibSvnSharp.Interop.Svn.svn_client.__Internal.svn_client_version()
at LibSvnSharp.Interop.Svn.svn_client.svn_client_version() in C:\source\svn\LibSvnSharp\LibSvnSharp\src\NativeBindingsGenerator\bin\Debug\Generated Files\SvnUnmanagedApi.cs:line 5424
at LibSvnSharp.SvnClient.get_Version() in C:\source\svn\LibSvnSharp\LibSvnSharp\src\LibSvnSharp\SvnClient.cs:line 39
at ConsoleClient.Program.Main(String[] args) in C:\source\svn\LibSvnSharp\LibSvnSharp\src\ConsoleClient\Program.cs:line 14To reproduce, do like so
- download, build and install the apr, apr-iconv and the apl-expat components from the apache web site and libexpat from github.
- update the paths in NativeBindingsGenerator/appconfig.cs to point to the correct locations
- run NativeBindingsGenerator.exe
- build LibSvnSharp
- build the ConsoleClient.exe test
I got no error running NativeBindingsGenerator and it created the following files
AprUnmanagedApi.cs
AprUnmanagedApi.dll
AprUnmanagedApi.pdb
AprUnmanagedApi.xml
LibSvnSharp.Interop.Apr-symbols.cpp
LibSvnSharp.Interop.Svn-symbols.cpp
Std.cs
Std.dll
Std.pdb
Std.xml
SvnUnmanagedApi.cs
SvnUnmanagedApi.dll
SvnUnmanagedApi.pdb
SvnUnmanagedApi.xmlAs we can see; LibSvnSharp.Native.dll is missing!
I would appreciate if you have minute to guide me how to getting this to work.
Metadata
Metadata
Assignees
Labels
No labels