This tools looks great, it fits some needs I have to integrate an internal wiki and my application.
Unfortunately, I have an exception when trying to create a new Wiki object (see above).
Can you help me ?
More generally, are there any code examples of how to use this library ?
Thanks.
System.FormatException was unhandled
Message="Le format de la chaîne d'entrée est incorrect."
Source="mscorlib"
StackTrace:
à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
à System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
à System.Int32.Parse(String s)
à WikiTools.Access.Wiki.LoadCapabilities()
à WikiTools.Access.Wiki..ctor(String uri, String cachedir)
à WikiTools.Access.Wiki..ctor(String uri)
à ConsoleApplication.Program.Main(String[] args) dans D:\steph\projects\ConsoleApplication\ConsoleApplication\Program.cs:ligne 14
à System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
à System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
à System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
à System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
à System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
à System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
à System.Activator.CreateInstance(ActivationContext activationContext)
à Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in fact, I workaround this by hardcoding the version in the WikiTools.Access.Wiki.LoadCapabilities() methods.
I did that on the release 0.3 but, I discovered that you did not release for a while even if the source code as changed a lot.
so maybe this issue has been fixed agin recent version of mediawiki.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
This tools looks great, it fits some needs I have to integrate an internal wiki and my application.
Unfortunately, I have an exception when trying to create a new Wiki object (see above).
Can you help me ?
More generally, are there any code examples of how to use this library ?
Thanks.
System.FormatException was unhandled
Message="Le format de la chaîne d'entrée est incorrect."
Source="mscorlib"
StackTrace:
à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
à System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
à System.Int32.Parse(String s)
à WikiTools.Access.Wiki.LoadCapabilities()
à WikiTools.Access.Wiki..ctor(String uri, String cachedir)
à WikiTools.Access.Wiki..ctor(String uri)
à ConsoleApplication.Program.Main(String[] args) dans D:\steph\projects\ConsoleApplication\ConsoleApplication\Program.cs:ligne 14
à System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
à System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
à System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
à System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
à System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
à System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
à System.Activator.CreateInstance(ActivationContext activationContext)
à Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException:
can you post your code, where you create Wiki object?
in fact, I workaround this by hardcoding the version in the WikiTools.Access.Wiki.LoadCapabilities() methods.
I did that on the release 0.3 but, I discovered that you did not release for a while even if the source code as changed a lot.
so maybe this issue has been fixed agin recent version of mediawiki.