Closed vimarx closed 3 years ago
Model mapper copy the files from bin to data design dir. do u have multiple versions in your bin? Clean the data design dir and bin?
On Wed, Nov 4, 2020 at 2:39 AM Gustavo Marzioni notifications@github.com wrote:
Assigned #800 https://github.com/eXpandFramework/eXpand/issues/800 to @apobekiaris https://github.com/apobekiaris.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/eXpandFramework/eXpand/issues/800#event-3955335588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABG52ANUAG7V7Z52DU2N3DSOCPC5ANCNFSM4TJM6WTQ .
-- Apostolis Bekiaris Frameworks Technical Evangelist @ DevExpress Blog @ http://apobekiaris.blogspot.com Skype/twitter: tolisss
Already done iwith no success
do u mean that your bin does not have multiple DX versions?
and still after build the datadesign has multiple versions?
do u mean that your bin does not have multiple DX versions?
only 20.2 version in bin, the older version is present in datasdesign path and loaded from GAC (as mentioned in the exception log)
it compiles OK; but fails in setup
the DataDesing directory does not affect the runtime can u test an empty xaf solution with Xpand.System,WIn installed? does the problem persists?
I will test ASAP
New Project with 20.2 fails with another error eXpressAppFramework.log
The error occurred:
Type: AggregateException
Message: Se han producido uno o varios errores.
Data: 0 entries
Stack trace:
1 objectSpaceProviders, ApplicationModulesManager modulesManager, ISecurityStrategyBase security) en DevExpress.ExpressApp.XafApplication.Setup(String applicationName, IList
1 objectSpaceProviders, ApplicationModulesManager modulesManager, ISecurityStrategyBase security)
en DevExpress.ExpressApp.XafApplication.Setup(String applicationName, IList`1 objectSpaceProviders, String[] moduleAssemblies, ISecurityStrategyBase security)
en DevExpress.ExpressApp.XafApplication.Setup(String applicationName, String connectionString, String[] moduleAssemblies, ISecurityStrategyBase security)
en DevExpress.ExpressApp.XafApplication.Setup()
en test.Win.Program.Main() en C:\Users\gmarzioni\source\repos\test\test.Win\Program.cs:línea 47InnerException:
Type: MissingMethodException
Message: Método no encontrado: 'Microsoft.CodeAnalysis.SyntaxTree Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.ParseText(System.String, Microsoft.CodeAnalysis.CSharp.CSharpParseOptions, System.String, System.Text.Encoding, System.Collections.Immutable.ImmutableDictionary`2<System.String,Microsoft.CodeAnalysis.ReportDiagnostic>, System.Nullable`1<Boolean>, System.Threading.CancellationToken)'.
Data: 0 entries
Stack trace:
en Xpand.XAF.Modules.ModelMapper.Services.TypeMapping.TypeMappingService.Compile(IEnumerable1 references, String code) en Xpand.XAF.Modules.ModelMapper.Services.TypeMapping.TypeMappingService.<>c.<GetMappedTypes>b__103_5(ValueTuple
2 tuple) en D:\a\1\s\src\Modules\ModelMapper\Services\TypeMapping\PublicMembers.cs:línea 96
en System.Reactive.Linq.ObservableImpl.SelectMany2.ObservableSelector._.OnNext(TSource value) --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) en System.Reactive.ExceptionHelpers.Throw(Exception exception) en System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex) en System.Reactive.AnonymousSafeObserver
1.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.HalfSerializer.ForwardOnError[T](ISink
1 sink, Exception ex, Int32& wip, Exception& error)
en System.Reactive.Linq.ObservableImpl.TakeUntil2._.OnError(Exception ex) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.Merge1.Observables._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.Switch1._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.SelectMany2.ObservableSelector._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Subjects.FastImmediateObserver
1.EnsureActive(Int32 count)
en System.Reactive.Subjects.FastImmediateObserver1.EnsureActive() en System.Reactive.Subjects.ReplaySubject
1.ReplayBase.OnError(Exception error)
en System.Reactive.Subjects.ReplaySubject1.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.SelectMany2.ObservableSelector._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.AutoDetachObserver
1.OnErrorCore(Exception exception)
en System.Reactive.ObserverBase1.OnError(Exception error) en Xpand.Extensions.Reactive.Utility.Utility.<>c__DisplayClass15_1
1.1.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.Switch1._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Subjects.FastImmediateObserver
1.EnsureActive(Int32 count)
en System.Reactive.Subjects.FastImmediateObserver1.EnsureActive() en System.Reactive.Subjects.ReplaySubject
1.ReplayBase.OnError(Exception error)
en System.Reactive.Subjects.ReplaySubject1.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Subjects.Subject
1.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Sink
2.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Sink
2.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Linq.ObservableImpl.Switch
1..InnerObserver.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Sink
2.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Linq.ObservableImpl.SelectMany
2.ObservableSelector..OnNext(TSource value)
en System.Reactive.AutoDetachObserver1.OnNextCore(T value) en System.Reactive.ObserverBase
1.OnNext(T value)
en Xpand.Extensions.Reactive.Utility.Utility.<>c__DisplayClass15_1`1.1.OnNext(T value) en System.Reactive.Sink
1.ForwardOnNext(TTarget value)
en System.Reactive.Linq.ObservableImpl.Aggregate1._.OnCompleted() en System.Reactive.Sink
1.ForwardOnCompleted()
en System.Reactive.TailRecursiveSink1.Done() en System.Reactive.TailRecursiveSink
1.Drain()
en System.Reactive.TailRecursiveSink1.Recurse() en System.Reactive.ConcatSink
1.OnCompleted()
en System.Reactive.Sink1.ForwardOnCompleted() en System.Reactive.Sink
2.OnCompleted()
en System.Reactive.Sink1.ForwardOnCompleted() en System.Reactive.Linq.ObservableImpl.ToObservableRecursive
1..LoopRec(IScheduler scheduler)
en System.Reactive.Linq.ObservableImpl.ToObservableRecursive`1..<>c.2.InvokeCore() en System.Reactive.Concurrency.ScheduledItem
1.Invoke()
en System.Reactive.Concurrency.CurrentThreadScheduler.Trampoline.Run(SchedulerQueue1 queue) en System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func
3 action)
en System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState state, Func3 action) en System.Reactive.Concurrency.Scheduler.ScheduleAction[TState](IScheduler scheduler, TState state, Action
1 action)
en System.Reactive.Producer2.SubscribeRaw(IObserver
1 observer, Boolean enableSafeguard)
en System.ObservableExtensions.SubscribeSafe[T](IObservable1 source, IObserver
1 observer)
en System.Reactive.Linq.ObservableImpl.Switch1._.OnNext(IObservable
1 value)
en System.Reactive.Sink1.ForwardOnNext(TTarget value) en System.Reactive.Linq.ObservableImpl.Select
2.Selector..OnNext(TSource value)
en System.Reactive.Sink1.ForwardOnNext(TTarget value) en System.Reactive.Linq.ObservableImpl.FirstAsync
1.Sequence..OnNext(TSource value)
en System.Reactive.Subjects.Subject1.OnNext(T value) en Xpand.XAF.Modules.Reactive.ReactiveModule.ExtendModelInterfaces(ModelInterfaceExtenders extenders) en D:\a\1\s\src\Modules\Reactive\Module.cs:línea 29 en DevExpress.ExpressApp.ApplicationModelManager.CreateModelApplicationCreatorProperties(ITypesInfo typesInfo, IEnumerable
1 modules, IEnumerable1 controllers, String assemblyFileAbsolutePath) en DevExpress.ExpressApp.ApplicationModelManager.Setup(ITypesInfo typesInfo, IEnumerable
1 boModelTypes, IEnumerable1 modules, IEnumerable
1 controllers, IEnumerable1 applicationLocalizerTypes, IEnumerable
1 applicationAspects, ModelStoreBase applicationModelDifferenceStore, String modelAssemblyFile)
en DevExpress.ExpressApp.XafApplication.CreateModelManager(IEnumerable1 boModelTypes) en DevExpress.ExpressApp.Win.WinApplication.CreateModelManager(IEnumerable
1 boModelTypes)
en DevExpress.ExpressApp.XafApplication.Setup(ExpressApplicationSetupParameters parameters)
en DevExpress.ExpressApp.XafApplication.SetupCore(String applicationName, IList1 objectSpaceProviders, ApplicationModulesManager modulesManager, ISecurityStrategyBase security) en DevExpress.ExpressApp.Win.WinApplication.<>n__0(String applicationName, IList
1 objectSpaceProviders, ApplicationModulesManager modulesManager, ISecurityStrategyBase security)
en DevExpress.ExpressApp.Win.WinApplication.<>c__DisplayClass77_0.
the same happens in web
thanks I can repro it working on a solution
extract and replace the Xpand.XAF.Modules.PositionInListview.zip in your C:\Users\USER.nuget\packages\xpand.xaf.modules.positioninlistview\2.202.31\lib\netstandard2.0\Xpand.XAF.Modules.PositionInListview.zip
let me know if it works
Hi, I've replaced and ran the solution, with no luck, try to rebuild, the same exception.
Método no encontrado: 'Microsoft.CodeAnalysis.SyntaxTree
Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.ParseText(System.String,
Microsoft.CodeAnalysis.CSharp.CSharpParseOptions, System.String,
System.Text.Encoding,
System.Collections.Immutable.ImmutableDictionary2<System.String,Microsoft.CodeAnalysis.ReportDiagnostic>, System.Nullable
1
en
Xpand.XAF.Modules.ModelMapper.Services.TypeMapping.TypeMappingService.Compile(IEnumerable1 references, String code) en Xpand.XAF.Modules.ModelMapper.Services.TypeMapping.TypeMappingService.<>c.<GetMappedTypes>b__103_5(ValueTuple
2
tuple) en
D:\a\1\s\src\Modules\ModelMapper\Services\TypeMapping\PublicMembers.cs:línea
96
en
System.Reactive.Linq.ObservableImpl.SelectMany2.ObservableSelector._.OnNext(TSource value) --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) en System.Reactive.ExceptionHelpers.Throw(Exception exception) en System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex) en System.Reactive.AnonymousSafeObserver
1.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.HalfSerializer.ForwardOnError[T](ISink
1 sink,
Exception ex, Int32& wip, Exception& error)
en System.Reactive.Linq.ObservableImpl.TakeUntil2._.OnError(Exception ex) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en
System.Reactive.Linq.ObservableImpl.Merge1.Observables._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en
System.Reactive.Linq.ObservableImpl.Switch1._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en
System.Reactive.Linq.ObservableImpl.SelectMany2.ObservableSelector._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Subjects.FastImmediateObserver
1.EnsureActive(Int32
count)
en System.Reactive.Subjects.FastImmediateObserver1.EnsureActive() en System.Reactive.Subjects.ReplaySubject
1.ReplayBase.OnError(Exception
error)
en System.Reactive.Subjects.ReplaySubject1.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en
System.Reactive.Linq.ObservableImpl.SelectMany2.ObservableSelector._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.AutoDetachObserver
1.OnErrorCore(Exception exception)
en System.Reactive.ObserverBase1.OnError(Exception error) en Xpand.Extensions.Reactive.Utility.Utility.<>c__DisplayClass15_1
1.1.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en
System.Reactive.Linq.ObservableImpl.Switch1._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Subjects.FastImmediateObserver
1.EnsureActive(Int32
count)
en System.Reactive.Subjects.FastImmediateObserver1.EnsureActive() en System.Reactive.Subjects.ReplaySubject
1.ReplayBase.OnError(Exception
error)
en System.Reactive.Subjects.ReplaySubject1.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Subjects.Subject
1.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Sink
2.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Sink
2.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Linq.ObservableImpl.Switch
1..InnerObserver.OnError(Exception
error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Sink
2.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Linq.ObservableImpl.SelectMany
2.ObservableSelector..OnNext(TSource
value)
en System.Reactive.AutoDetachObserver1.OnNextCore(T value) en System.Reactive.ObserverBase
1.OnNext(T value)
en
Xpand.Extensions.Reactive.Utility.Utility.<>c__DisplayClass15_1`1.1.OnNext(T value) en System.Reactive.Sink
1.ForwardOnNext(TTarget value)
en System.Reactive.Linq.ObservableImpl.Aggregate1._.OnCompleted() en System.Reactive.Sink
1.ForwardOnCompleted()
en System.Reactive.TailRecursiveSink1.Done() en System.Reactive.TailRecursiveSink
1.Drain()
en System.Reactive.TailRecursiveSink1.Recurse() en System.Reactive.ConcatSink
1.OnCompleted()
en System.Reactive.Sink1.ForwardOnCompleted() en System.Reactive.Sink
2.OnCompleted()
en System.Reactive.Sink1.ForwardOnCompleted() en System.Reactive.Linq.ObservableImpl.ToObservableRecursive
1..LoopRec(IScheduler
scheduler)
en
System.Reactive.Linq.ObservableImpl.ToObservableRecursive`1..<>c.2.InvokeCore() en System.Reactive.Concurrency.ScheduledItem
1.Invoke()
en
System.Reactive.Concurrency.CurrentThreadScheduler.Trampoline.Run(SchedulerQueue1 queue) en System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func
3 action)
en System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState
state, Func3 action) en System.Reactive.Concurrency.Scheduler.ScheduleAction[TState](IScheduler scheduler, TState state, Action
1 action)
en System.Reactive.Producer2.SubscribeRaw(IObserver
1 observer, Boolean
enableSafeguard)
en System.ObservableExtensions.SubscribeSafe[T](IObservable1 source, IObserver
1 observer)
en System.Reactive.Linq.ObservableImpl.Switch1._.OnNext(IObservable
1
value)
en System.Reactive.Sink1.ForwardOnNext(TTarget value) en System.Reactive.Linq.ObservableImpl.Select
2.Selector..OnNext(TSource
value)
en System.Reactive.Sink1.ForwardOnNext(TTarget value) en System.Reactive.Linq.ObservableImpl.FirstAsync
1.Sequence..OnNext(TSource
value)
en System.Reactive.Subjects.Subject1.OnNext(T value) en Xpand.XAF.Modules.Reactive.ReactiveModule.ExtendModelInterfaces(ModelInterfaceExtenders extenders) en D:\a\1\s\src\Modules\Reactive\Module.cs:línea 29 en DevExpress.ExpressApp.ApplicationModelManager.CreateModelApplicationCreatorProperties(ITypesInfo typesInfo, IEnumerable
1 modules, IEnumerable1 controllers, String assemblyFileAbsolutePath) en DevExpress.ExpressApp.ApplicationModelManager.Setup(ITypesInfo typesInfo, IEnumerable
1 boModelTypes, IEnumerable1 modules, IEnumerable
1
controllers, IEnumerable1 applicationLocalizerTypes, IEnumerable
1
applicationAspects, ModelStoreBase applicationModelDifferenceStore, String
modelAssemblyFile)
en DevExpress.ExpressApp.XafApplication.CreateModelManager(IEnumerable1 boModelTypes) en DevExpress.ExpressApp.Win.WinApplication.CreateModelManager(IEnumerable
1
boModelTypes)
en
DevExpress.ExpressApp.XafApplication.Setup(ExpressApplicationSetupParameters
parameters)
en DevExpress.ExpressApp.XafApplication.SetupCore(String
applicationName, IList1 objectSpaceProviders, ApplicationModulesManager modulesManager, ISecurityStrategyBase security) en DevExpress.ExpressApp.Win.WinApplication.<>n__0(String applicationName, IList
1 objectSpaceProviders, ApplicationModulesManager
modulesManager, ISecurityStrategyBase security)
en
DevExpress.ExpressApp.Win.WinApplication.<>c__DisplayClass77_0.
El mié., 4 de nov. de 2020 a la(s) 20:34, Apostolis Bekiaris ( notifications@github.com) escribió:
extract and replace the Xpand.XAF.Modules.PositionInListview.zip https://github.com/eXpandFramework/eXpand/files/5490981/Xpand.XAF.Modules.PositionInListview.zip in your C:\Users\USER.nuget\packages\xpand.xaf.modules.positioninlistview\2.202.31\lib\netstandard2.0\Xpand.XAF.Modules.PositionInListview.zip
let me know if it works
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eXpandFramework/eXpand/issues/800#issuecomment-722031500, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXL4FSCXGYJ2HQZ62HQQLSOHQHVANCNFSM4TJM6WTQ .
at least in my attached test solution the patched assembly which is included in the next minor works fine. Note the binding redirects in the web.config.
Maybe wait for the build and test again on my solution or provide a more complex one that i can repro it. 800.zip
The pre-release 2.201.21.1 in the DevExpress.XAF lab
branch includes commits that relate to this task:
To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).
Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.
20.2.302.1 is out please check and let me know
the same issue, in web and, win, what should I check?
05.11.20 19:48:10.351 5tv5fzhfechz24oxbz5xshuv Customize TypesInfo Exception thrown: 'System.MissingMethodException' in Xpand.XAF.Modules.ModelMapper.dll Exception thrown: 'System.MissingMethodException' in mscorlib.dll Exception thrown: 'System.MissingMethodException' in System.Reactive.dll Exception thrown: 'System.MissingMethodException' in System.Reactive.dll Exception thrown: 'System.MissingMethodException' in System.Web.dll 05.11.20 19:48:13.454 5tv5fzhfechz24oxbz5xshuv Cannot send alert email to admin iisexpress.exe Error: 0 : 05.11.20 19:48:13.465 5tv5fzhfechz24oxbz5xshuv ================================================================================ The error occurred:
Type: MissingMethodException
Message: Método no encontrado: 'Microsoft.CodeAnalysis.SyntaxTree Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.ParseText(System.String, Microsoft.CodeAnalysis.CSharp.CSharpParseOptions, System.String, System.Text.Encoding, System.Collections.Immutable.ImmutableDictionary`2<System.String,Microsoft.CodeAnalysis.ReportDiagnostic>, System.Nullable`1<Boolean>, System.Threading.CancellationToken)'.
Data: 1 entries
'ASPIMPERSONATING' ''
Stack trace:
en Xpand.XAF.Modules.ModelMapper.Services.TypeMapping.TypeMappingService.Compile(IEnumerable1 references, String code) en Xpand.XAF.Modules.ModelMapper.Services.TypeMapping.TypeMappingService.<>c.<GetMappedTypes>b__103_5(ValueTuple
2 tuple) en D:\a\1\s\src\Modules\ModelMapper\Services\TypeMapping\PublicMembers.cs:línea 96
en System.Reactive.Linq.ObservableImpl.SelectMany2.ObservableSelector._.OnNext(TSource value) --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) en System.Reactive.ExceptionHelpers.Throw(Exception exception) en System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex) en System.Reactive.AnonymousSafeObserver
1.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.HalfSerializer.ForwardOnError[T](ISink
1 sink, Exception ex, Int32& wip, Exception& error)
en System.Reactive.Linq.ObservableImpl.TakeUntil2._.OnError(Exception ex) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.Merge1.Observables._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.Switch1._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.SelectMany2.ObservableSelector._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Subjects.FastImmediateObserver
1.EnsureActive(Int32 count)
en System.Reactive.Subjects.FastImmediateObserver1.EnsureActive() en System.Reactive.Subjects.ReplaySubject
1.ReplayBase.OnError(Exception error)
en System.Reactive.Subjects.ReplaySubject1.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.SelectMany2.ObservableSelector._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.AutoDetachObserver
1.OnErrorCore(Exception exception)
en System.Reactive.ObserverBase1.OnError(Exception error) en Xpand.Extensions.Reactive.Utility.Utility.<>c__DisplayClass15_1
1.1.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Linq.ObservableImpl.Switch1._.InnerObserver.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Subjects.FastImmediateObserver
1.EnsureActive(Int32 count)
en System.Reactive.Subjects.FastImmediateObserver1.EnsureActive() en System.Reactive.Subjects.ReplaySubject
1.ReplayBase.OnError(Exception error)
en System.Reactive.Subjects.ReplaySubject1.OnError(Exception error) en System.Reactive.Sink
1.ForwardOnError(Exception error)
en System.Reactive.Sink2.OnError(Exception error) en System.Reactive.Subjects.Subject
1.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Sink
2.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Sink
2.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Linq.ObservableImpl.Switch
1..InnerObserver.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Sink
2.OnError(Exception error)
en System.Reactive.Sink1.ForwardOnError(Exception error) en System.Reactive.Linq.ObservableImpl.SelectMany
2.ObservableSelector..OnNext(TSource value)
en System.Reactive.AutoDetachObserver1.OnNextCore(T value) en System.Reactive.ObserverBase
1.OnNext(T value)
en Xpand.Extensions.Reactive.Utility.Utility.<>c__DisplayClass15_1`1.1.OnNext(T value) en System.Reactive.Sink
1.ForwardOnNext(TTarget value)
en System.Reactive.Linq.ObservableImpl.Aggregate1._.OnCompleted() en System.Reactive.Sink
1.ForwardOnCompleted()
en System.Reactive.TailRecursiveSink1.Done() en System.Reactive.TailRecursiveSink
1.Drain()
en System.Reactive.TailRecursiveSink1.Recurse() en System.Reactive.ConcatSink
1.OnCompleted()
en System.Reactive.Sink1.ForwardOnCompleted() en System.Reactive.Sink
2.OnCompleted()
en System.Reactive.Sink1.ForwardOnCompleted() en System.Reactive.Linq.ObservableImpl.ToObservableRecursive
1..LoopRec(IScheduler scheduler)
en System.Reactive.Linq.ObservableImpl.ToObservableRecursive`1..<>c.2.InvokeCore() en System.Reactive.Concurrency.ScheduledItem
1.Invoke()
en System.Reactive.Concurrency.CurrentThreadScheduler.Trampoline.Run(SchedulerQueue1 queue) en System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func
3 action)
en System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState state, Func3 action) en System.Reactive.Concurrency.Scheduler.ScheduleAction[TState](IScheduler scheduler, TState state, Action
1 action)
en System.Reactive.Producer2.SubscribeRaw(IObserver
1 observer, Boolean enableSafeguard)
en System.ObservableExtensions.SubscribeSafe[T](IObservable1 source, IObserver
1 observer)
en System.Reactive.Linq.ObservableImpl.Switch1._.OnNext(IObservable
1 value)
en System.Reactive.Sink1.ForwardOnNext(TTarget value) en System.Reactive.Linq.ObservableImpl.Select
2.Selector..OnNext(TSource value)
en System.Reactive.Sink1.ForwardOnNext(TTarget value) en System.Reactive.Linq.ObservableImpl.FirstAsync
1.Sequence..OnNext(TSource value)
en System.Reactive.Subjects.Subject1.OnNext(T value) en Xpand.XAF.Modules.Reactive.ReactiveModule.ExtendModelInterfaces(ModelInterfaceExtenders extenders) en D:\a\1\s\src\Modules\Reactive\Module.cs:línea 29 en DevExpress.ExpressApp.ApplicationModelManager.CreateModelApplicationCreatorProperties(ITypesInfo typesInfo, IEnumerable
1 modules, IEnumerable1 controllers, String assemblyFileAbsolutePath) en DevExpress.ExpressApp.ApplicationModelManager.Setup(ITypesInfo typesInfo, IEnumerable
1 boModelTypes, IEnumerable1 modules, IEnumerable
1 controllers, IEnumerable1 applicationLocalizerTypes, IEnumerable
1 applicationAspects, ModelStoreBase applicationModelDifferenceStore, String modelAssemblyFile)
en DevExpress.ExpressApp.XafApplication.CreateModelManager(IEnumerable1 boModelTypes) en DevExpress.ExpressApp.Web.WebApplication.CreateModelManager(IEnumerable
1 boModelTypes)
en DevExpress.ExpressApp.XafApplication.Setup(ExpressApplicationSetupParameters parameters)
en DevExpress.ExpressApp.XafApplication.SetupCore(String applicationName, IList1 objectSpaceProviders, ApplicationModulesManager modulesManager, ISecurityStrategyBase security) en DevExpress.ExpressApp.XafApplication.Setup(String applicationName, IList
1 objectSpaceProviders, ApplicationModulesManager modulesManager, ISecurityStrategyBase security)
en DevExpress.ExpressApp.XafApplication.Setup(String applicationName, IList`1 objectSpaceProviders, String[] moduleAssemblies, ISecurityStrategyBase security)
en DevExpress.ExpressApp.XafApplication.Setup(String applicationName, String connectionString, String[] moduleAssemblies, ISecurityStrategyBase security)
en DevExpress.ExpressApp.XafApplication.Setup()
en test.Web.Global.Session_Start(Object sender, EventArgs e) en C:\Users\gmarzioni\source\repos\test\test.Web\Global.asax.cs:línea 45
en System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
en System.Web.SessionState.SessionStateModule.CompleteAcquireState()
en System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
en System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
en System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
InnerException is null
05.11.20 19:48:13.529 no context
shutDownMessage=Cambiar la notificación para directorios importantes. bin dir change or directory rename HostingEnvironment initiated shutdown Cambiar la notificación para directorios importantes. bin dir change or directory rename Cambiar la notificación para directorios importantes. bin dir change or directory rename Cambiar la notificación para directorios importantes. bin dir change or directory rename HostingEnvironment originó el cierre
shutdownReason=BinDirChangeOrDirectoryRename
shutDownStack= en System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) en System.Environment.get_StackTrace() en System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() en System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand() en System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace) en System.Web.HttpRuntime.OnCriticalDirectoryChange(Object sender, FileChangeEvent e) en System.Web.FileChangesMonitor.OnCriticaldirChange(Object sender, FileChangeEvent e) en System.Web.DirectoryMonitor.FireNotifications() en System.Web.Util.WorkItem.CallCallbackWithAssert(WorkItemCallback callback) en System.Web.Util.WorkItem.OnQueueUserWorkItemCompletion(Object state) en System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state) en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() en System.Threading.ThreadPoolWorkQueue.Dispatch() en System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
can u check my sample i posted previously https://github.com/eXpandFramework/eXpand/issues/800#issuecomment-722400361
eXpand.lab release 20.2.302.1 includes commit that relate to this task:
Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
To minimize version conflicts we recommend that you switch to PackageReference format and use only the eXpandAgnostic, eXpandWin, eXpandWeb packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).
Thanks a lot for your contribution.
Your sample, upgraded to 20.2 and 20.2.302.1 works ok (attached log) 800.zip
but mine not (with 20.2.302.1)
provide a more complex one that i can repro it.
can u?
please note that my sample does not work with 20.2.302.0
provide a more complex one that i can repro it.
can u?
will try asap, maybe tonight
the web app runs fine if I copy the output dlls to another pc
uninstalled 20.1, so the error now is
The error occurred:
Type: MissingMethodException
Message: Método no encontrado: 'Microsoft.CodeAnalysis.SyntaxTree Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.ParseText(System.String, Microsoft.CodeAnalysis.CSharp.CSharpParseOptions, System.String, System.Text.Encoding, System.Collections.Immutable.ImmutableDictionary`2<System.String,Microsoft.CodeAnalysis.ReportDiagnostic>, System.Nullable`1<Boolean>, System.Threading.CancellationToken)'.
Data: 1 entries
'ASPIMPERSONATING' ''
Stack trace:
en Global.Session_Start(Object sender, EventArgs e) en C:\TFS2020\F2011\PreSolicitud\PresolicitudW.Web\Global.asax.vb:línea 62 en System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) en System.Web.SessionState.SessionStateModule.CompleteAcquireState() en System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) en System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() en System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) InnerException is null
please do not post such long stacktrace it makes it not possible to navigate this case. Try installing the Microsoft.CodeAnalysis.CSharp and check your web.config for binding redirects that match if any
thanks, I fixed the original post
please do not post such long stacktrace it makes it not possible to navigate this case. Try installing the Microsoft.CodeAnalysis.CSharp and check your web.config for binding redirects that match if any
Now it works !!, thanks!
installing the Microsoft.CodeAnalysis.CSharp 3.8 and redirects in web.config for binding redirects solved this issue!
app fails to start with a lot of these errors "(27101, 34): El tipo 'DevExpress.Utils.DefaultBoolean' existe tanto en 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\DevExpress.Data.v20.2\v4.0_20.2.3.0b88d1754d700e49a\DevExpress.Data.v20.2.dll' como en 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\DevExpress.Data.v20.1\v4.0_20.1.8.0b88d1754d700e49a\DevExpress.Data.v20.1.dll'
I have both 20.1 and 20.2 installed in GAC I found that modelmapper process generates modelmapperfiles.txt at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\DataDesign and there are listed 20.1 and 20.2 files
Fragment -> "0Harmony.dll AppDomainToolkit.dll ConcurrentCollections.dll DevExpress.Charts.v20.1.Core.dll DevExpress.Charts.v20.2.Core.dll DevExpress.CodeParser.v20.1.dll DevExpress.CodeParser.v20.2.dll DevExpress.Dashboard.v20.1.Core.dll DevExpress.Dashboard.v20.1.Web.dll "
I found ModelMapper