Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upRavenDB : rd.xml editing #7895
RavenDB : rd.xml editing #7895
Comments
This comment has been minimized.
This comment has been minimized.
@DardoTheMaster see this similiar issue #7638 (comment) |
This comment has been minimized.
This comment has been minimized.
@Suchiman may i ask how you determine the assembly name ? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Ok so, i put together this rd.xml
Unfortunately, i'm getting this on compiling:
|
This comment has been minimized.
This comment has been minimized.
I don't think you need the second |
This comment has been minimized.
This comment has been minimized.
For further reference,here's the working rd.xml file . Thank you @Suchiman
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
wrap the stacktrace inside two ``` to be more readable, not the quote one System.InvalidOperationException: Could not build json parser for Raven.Client.Documents.Queries.QueryResult
---> EETypeRva:0x01BDCC10(System.Reflection.MissingRuntimeArtifactException): MakeGenericMethod() cannot create this generic method instantiation because the instantiation was not metadata-enabled: 'Sparrow.Json.BlittableJsonReaderObject.TryGet<System.Nullable<System.Int32>>(System.String,out System.Nullable<System.Int32>&)' For more information, please visit http://go.microsoft.com/fwlink/?LinkID=616868
at Internal.Reflection.Core.Execution.ExecutionEnvironment.GetMethodInvoker(RuntimeTypeInfo, QMethodDefinition, RuntimeTypeInfo[], MemberInfo) + 0x273
at System.Reflection.Runtime.MethodInfos.NativeFormat.NativeFormatMethodCommon.GetUncachedMethodInvoker(RuntimeTypeInfo[], MemberInfo) + 0xb6
at System.Reflection.Runtime.MethodInfos.RuntimeNamedMethodInfo1.GetUncachedMethodInvoker(RuntimeTypeInfo[], MemberInfo) + 0x37 at System.Reflection.Runtime.MethodInfos.RuntimeConstructedGenericMethodInfo.get_UncachedMethodInvoker() + 0x3b at System.Reflection.Runtime.MethodInfos.RuntimeMethodInfo.get_MethodInvoker() + 0x19c at System.Reflection.Runtime.MethodInfos.RuntimeNamedMethodInfo1.MakeGenericMethod(Type[]) + 0x3ec
at System.Linq.Expressions.Expression.ApplyTypeArgs(MethodInfo, Type[]) + 0xc7
at System.Linq.Expressions.Expression.FindMethod(Type, String, Type[], Expression[], BindingFlags) + 0xe0
at System.Linq.Expressions.Expression.Call(Expression, String, Type[], Expression[]) + 0xb4
at Sparrow.Json.JsonDeserializationBase.GetValue(String, Type, ParameterExpression, Dictionary2) + 0x757 at Sparrow.Json.JsonDeserializationBase.GenerateJsonDeserializationRoutine[T]() + 0x9b6 --- End of inner exception stack trace --- at Sparrow.Json.JsonDeserializationBase.<>c__DisplayClass3_01.b__0(BlittableJsonReaderObject) + 0xb8
at Raven.Client.Documents.Commands.QueryCommand.SetResponse(JsonOperationContext, BlittableJsonReaderObject, Boolean) + 0xad
at Raven.Client.Http.RavenCommand1.<ProcessResponse>d__35.MoveNext() + 0x5b4 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x32 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xe5 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x86 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x2e at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() + 0x1a
at Raven.Client.Http.RequestExecutor.d__921.MoveNext() + 0x2397 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x32 at Raven.Client.Http.RequestExecutor.<ExecuteAsync>d__921.MoveNext() + 0x2a4a
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x32
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xe5
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x86
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x2e
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0x1a
at Raven.Client.Util.AsyncHelpers.RunSync(Func1) + 0xca at Raven.Client.Http.RequestExecutor.Execute[TResult](RavenCommand1, JsonOperationContext, SessionInfo) + 0xb0
at Raven.Client.Documents.Session.DocumentQuery1.ExecuteActualQuery() + 0xca at Raven.Client.Documents.Session.DocumentQuery1.InitSync() + 0xab
at Raven.Client.Documents.Session.DocumentQuery1.ExecuteQueryOperationInternal(Nullable1) + 0xed
at Raven.Client.Documents.Session.DocumentQuery1.ExecuteQueryOperation(Nullable1) + 0x2d
at Raven.Client.Documents.Session.DocumentQuery1.GetEnumerator() + 0x3a at System.Collections.Generic.List1..ctor(IEnumerable1) + 0x1b2 at System.Linq.Enumerable.ToList[TSource](IEnumerable1) + 0x7c
at ArmaRavenDB.Database.DBSession.Fetch(String) + 0xb1
at ArmaRavenDB.Database.DBSession.<>c__DisplayClass6_0.b__0() + 0x3a |
Hello, i'm trying to build a basic application which is basically a custom client for handling requests to RavenDB.
Unfortunately while trying to run the compiled application, i get the following errors:
I tried to mess with rd.xml, but really couldn't understand how to properly configure them.
But i'm always getting errors on compiling or runtime
Thank you.