Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    advapiIT
    @advapiIT
    was I wrong or someone tried/succeded to replace the datawindow with Telerik's one?
    advapiIT
    @advapiIT
    Excuse me, is theresome magic when we use a catel:DataWindow and resources? I try to explain what happens, I use implicit styles in WPF on my main solution everything works using the catel:DataWindow, same code using Orchestra I don't see some UI item as DataTimePicker, normally I fix this adding the ResourceDictionary to the catel:DataWindow.Resources
    but this time it won't work
    Geert van Horrik
    @GeertvanHorrik
    you should add the resources on the app-level
    so in app.xaml, reference the resource dictionary to Orchestra and everything else
    although I thought Orchestra is already aggressively loading / linking the /themes/generic.xaml from each app
    venom_aa
    @venomAA
    I always add it to the app.xaml.
    <Application x:Class="BonaPrimeERP.App"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
        <Application.Resources>
                <ResourceDictionary>
                    <ResourceDictionary.MergedDictionaries>
                     <ResourceDictionary Source="pack://application:,,,/Orchestra.Core;component/themes/Orchestra.generic.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedTabControl.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Orange.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/FlatButton.xaml" />
                </ResourceDictionary.MergedDictionaries>
                </ResourceDictionary>
            </Application.Resources>
    </Application>
    advapiIT
    @advapiIT
    it worked
    thanks I 've avoided all the pain I had till now
    advapiIT
    @advapiIT
    excuse me, wht Orc.CrashReporting is not avaiable anymore on gith?
    ok I've seen it's been archivied and no longer mantained
    advapiIT
    @advapiIT
    Excuse me ,how do I perform an action when the application (using Orchestra) is closed? is there a closing event?
    Geert van Horrik
    @GeertvanHorrik
    I think we have something for that, but it might be in our private libs on top of Orc.*
    I don't believe there is an event you can hook into, except for CloseViewModel on MainViewModel
    advapiIT
    @advapiIT
    For the question above I've resolved extending the IApplicationStartupService and putting a Func that's invoked optionally at the exit
    now I was looking for an elegant way to catch the exception and I've found https://github.com/WildGums/Orc.CrashReporting
    but as I've seen it's not supported anymore
    Geert van Horrik
    @GeertvanHorrik
    I think ORchestra has a CrashHandler, but not sure whether it's for internal use only
    advapiIT
    @advapiIT
    excuse me, is there a reason why the there's a double Orchestra.Core here?
    Geert van Horrik
    @GeertvanHorrik
    the first folder is a group
    for core, it doesn't make much sense
    but for the shell it does
    advapiIT
    @advapiIT
    yes that's ok! thxs
    samirem
    @samirem
    Is it possible to step through the source of Orchestra, such as described in the following link?
    http://catelproject.com/2014/04/29/stepping-catel-code-debugging/
    Geert van Horrik
    @GeertvanHorrik
    yes, should be, all Catel & Orc.* and Orchestra libs use the same tools
    samirem
    @samirem
    Great! I don't get it to work atm but I gotta dig a bit into it
    Geert van Horrik
    @GeertvanHorrik
    ok, let us know if it doesn't work, then we'll look into it on our side
    samirem
    @samirem
    Will do, thanks!
    samirem
    @samirem
    @GeertvanHorrik I'm receiving the following message in my Debug Console.. any idea what I might be doing wrong? Have enabled source server support and tried launching VS2017 in Admin mode.
    SRCSRV: The module '{.....}\output\Debug\Catel.Core.dll' does not contain source server information.
    Geert van Horrik
    @GeertvanHorrik
    is there a pdb file next to that file?
    samirem
    @samirem
    Yes
    Geert van Horrik
    @GeertvanHorrik
    What version of Catel?
    samirem
    @samirem
    5.1.0
    Geert van Horrik
    @GeertvanHorrik
    hmmm, can you try 5.2 just to check whether that has a different behavior?
    samirem
    @samirem
    Sure, give me a minute
    samirem
    @samirem
    Still not working it seems
    Looking for source using source server...
    The debugger will ask the user to find the file: C:\CI_WS\Ws\105284\Source\Catel\src\Catel.Core\Catel.Core.Shared\Logging\LogManager.cs.
    The user pressed Cancel in the Find Source dialog. The debug source files settings for the active solution have been modified so that the debugger will not ask the user to find the file: C:\CI_WS\Ws\105284\Source\Catel\src\Catel.Core\Catel.Core.Shared\Logging\LogManager.cs.
    The debugger could not locate the source file 'C:\CI_WS\Ws\105284\Source\Catel\src\Catel.Core\Catel.Core.Shared\Logging\LogManager.cs'.
    Geert van Horrik
    @GeertvanHorrik
    I'll check out the pdb files
    samirem
    @samirem
    Thanks, I'm suspecting that the issue is on my end though..
    Yesterday when I tried on my personal PC (I'm at work PC now), i got VS to successfully download all microsofts symbol files, but all NuGet-packages got put in a "FailedLoads" folder. In that folder there was one .txt-file for each package, and inside it said somehting like "PDB Not Found"
    Geert van Horrik
    @GeertvanHorrik
    Just checked the Catel 5.2 core pdb for .NET 4.6
    image.png
    it seems to have the right mappings
    did you:
    1. Disable "Just my code"
    1. Enable "source server support"
    samirem
    @samirem
    @GeertvanHorrik Yep I did that
    I'm targeting .NET 4.6.1, but that should't be an issue I guess?