Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    kevinlall
    @kevinlall
    only i did not do is use <Project Sdk="MSBuild.Sdk.Extras">
    i just created a normal WPF project
    Geert van Horrik
    @GeertvanHorrik
    ok, that shouldn't matter much, as long as you use the right dependencies. But what is the callstack / first chance exception?
    kevinlall
    @kevinlall
    [DEBUG] [Orchestra.Services.ShellService] [1] Showing splash screen
    'WpfApp1.exe' (CLR v4.0.30319: WpfApp1.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    System.Windows.Data Error: 23 : Cannot convert '<null>' from type '<null>' to type 'System.Windows.Media.ImageSource' for 'en-US' culture with default conversions; consider using Converter property of Binding. NotSupportedException:'System.NotSupportedException: ImageSourceConverter cannot convert from (null).
    at System.ComponentModel.TypeConverter.GetConvertFromException(Object value)
    at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
    at MS.Internal.Data.DefaultValueConverter.ConvertHelper(Object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, Boolean isForward)'
    Geert van Horrik
    @GeertvanHorrik
    that can be ignored (product logo for splash)
    kevinlall
    @kevinlall
    how do i do that
    pls
    Geert van Horrik
    @GeertvanHorrik
    just hit f5, it's a first-chance exception
    kevinlall
    @kevinlall
    image.png
    Geert van Horrik
    @GeertvanHorrik
    ok, please upload the repro, but it should just work
    or paste the log here
    kevinlall
    @kevinlall
    Geert van Horrik
    @GeertvanHorrik
    Exception thrown: 'Catel.IoC.TypeNotRegisteredException' in Catel.Core.dll
    kevinlall
    @kevinlall
    how can i see that
    Geert van Horrik
    @GeertvanHorrik
    output window
    so you are using ModuleInitializer, but not fody
    if you don't want to use fody, you should move
                var serviceLocator = ServiceLocator.Default;
    
                serviceLocator.RegisterType<IRibbonService, RibbonService>();
                serviceLocator.RegisterType<IApplicationInitializationService, ApplicationInitializationService>();
    to app.Onstartup
    kevinlall
    @kevinlall
    doing that now
    Geert van Horrik
    @GeertvanHorrik
    next: there is no view model for the ribbonview
    You should have a few pointers to start at, but this is really basic stuff. Please, check out the example, it works. We do provide paid support if you need help setting up your projects
    kevinlall
    @kevinlall
    thanks for the pointer
    kevinlall
    @kevinlall
    got it working
    Geert van Horrik
    @GeertvanHorrik
    excellent!
    kevinlall
    @kevinlall
    image.png
    but oh wow it's a lot of boilerplate things that needs to be in place
    Geert van Horrik
    @GeertvanHorrik
    correct, it takes care of a lot of things for you, but you need to define a few parts of the apps (e.g. main view, ribbon view, status bar view) and a service exposing this.
    kevinlall
    @kevinlall
    i don't know how you saw that exception Exception thrown: 'Catel.IoC.TypeNotRegisteredException' in Catel.Core.dll but it's pretty hard to figure out if something goes wrong
    Geert van Horrik
    @GeertvanHorrik
    it was right there in the logs
    kevinlall
    @kevinlall
    maybe it my VS
    not configured properly
    image.png
    however i love the recentlyused xml
    Geert van Horrik
    @GeertvanHorrik
    there are tons of great features in there, most of which you don't even notice ;-)
    kevinlall
    @kevinlall
    i noticed you guys have a prism feature
    that is using version 6
    Geert van Horrik
    @GeertvanHorrik
    we don't actively develop it
    it's under maintenance mode
    the mvvm stuff we use is Catel
    kevinlall
    @kevinlall
    how do you add module
    Geert van Horrik
    @GeertvanHorrik
    orc.extensibility
    Aitania
    @Aitania
    I have tried with orc.extensibility. With MEF is simple!
    bigworld12
    @bigworld12
    @GeertvanHorrik hey, i am getting those weird errors with Orchestra.Shell.MahApps, it wants to reference Version 1.6.5.1, while i am referencing 2.0.0-alpha0262 , shouldn't that be ok?
    image.png
    image.png
    Geert van Horrik
    @GeertvanHorrik
    Why are you already on the 2.0.0 alpha of MahApps?
    bigworld12
    @bigworld12
    i wanted to get the new features on 2.0
    Geert van Horrik
    @GeertvanHorrik
    2.x is a breaking change release, so don't expect Orchestra to support that until it's stable
    bigworld12
    @bigworld12
    hmmm ok then
    Geert van Horrik
    @GeertvanHorrik
    I know most major WPF projects are preparing for .net core 3.0 (us included), but all our current (non-breaking) alpha releases support this.