Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Geert van Horrik
    @GeertvanHorrik
    no, it should load the local pdb, it should redirect the files to internet
    did you specify a symbols file directory in vs?
    samirem
    @samirem
    Nope as far as I know I didn't specify it
    image.png
    Geert van Horrik
    @GeertvanHorrik
    check whether that directory exists and can be used
    that could be the issue as well
    samirem
    @samirem
    I don't think thats the issue in my case. When I enable ".NET Framework stepping" I get some .NET source files in that directory. But all NuGet packages referenced ends up in a subdirectory called "FailedLoads". in That directory each package gets a .txt-file with the contents "PDB Not Found".
    samirem
    @samirem
    @GeertvanHorrik Hi, I'm looking into Orc.ProjectManagement atm, trying to set up a model for dealing with files. I want to enable a "save reminder" when trying to close the file with unsaved changes. The CsvTextEditor seems like a pretty good example (I guess?). However, I have not successfully implemented something in my app that sets IsDirty on my models, do you have some kind of recommendation here?
    Geert van Horrik
    @GeertvanHorrik
    not sure whether IsDirty should be used on Models
    what we do is a ProjectBase derivation, and just set the flag whenever something gets changed on the project itself
    basically since everything you do with a project actually applies to a project, you can simply apply change notifications there
    advapiIT
    @advapiIT
    Hello, I've created a new project starting from orchestra and updated all the nuget
    I got an error in ApplicationStartupService with
    public override bool ShowSplashScreen => true;
    
            public override bool ShowShell => true;
    advapiIT
    @advapiIT
    have they been removed_
    Geert van Horrik
    @GeertvanHorrik
    No, you must use the latest pre-release, they have been added
    advapiIT
    @advapiIT
    the pre/release of orchestra...so 4.0
    Geert van Horrik
    @GeertvanHorrik
    5.x
    advapiIT
    @advapiIT
    and catel 5.6 as well_
    Geert van Horrik
    @GeertvanHorrik
    yup
    advapiIT
    @advapiIT
    Hello ppl, it's possible to set an orchestra app to go to the systray as it starts?
    Geert van Horrik
    @GeertvanHorrik
    Sure. You can grab the main window in the splash screen and tell it to go to the systray. You can even hide both the splash and main window at startup with the latest prerelease version
    advapiIT
    @advapiIT
    is there a doc about this?
    Geert van Horrik
    @GeertvanHorrik
    nope
    advapiIT
    @advapiIT
    good. I'll give a try on the return
    advapiIT
    @advapiIT
    excuse me geert, I've downloaded orchestra from github (again) but I got this error messagwe
    Severity Code Description Project File Line Suppression State
    Error MSB3644 The reference assemblies for framework ".NETFramework,Version=v4.7" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. Orchestra.Shell.Ribbon.Fluent C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 1179
    consider I've all the .netframework installed
    is there something stupid I'm missing
    Geert van Horrik
    @GeertvanHorrik
    Glad you solved it
    advapiIT
    @advapiIT
    Hello! 2 question about orchestra.... when I close the application I've to invoke a dispose of a service (absolutely, no way, otherwise the process remains zombie), where should I do this? since Orchestra.Shell is inside another assembly
    should I've kept the orchestra.shell project inside the solution?
    Geert van Horrik
    @GeertvanHorrik
    You can create a watcher that subscribes to Application.Exit event?
    I also think we have an ICloseApplicationService, but that could be in our internal libs which are not open source
    advapiIT
    @advapiIT
    Done, thanks!
    advapiIT
    @advapiIT
    Excuse me, how do I inject the ILog in a viewmodel setting that's related to that class I mean
    sometime in code I do private static readonly ILog Log = LogManager.GetCurrentClassLogger();
    is there a way I can Inject the ILog and let the DI to set the currentclass clogger_
    Geert van Horrik
    @GeertvanHorrik
    why would you want to use DI for logging? You can always query LogManger.GetLogger(typeof(x))
    advapiIT
    @advapiIT
    because I tought it would be the right approach
    for example SimpleInjector has an adapter to resolve the DI of ILog
    Geert van Horrik
    @GeertvanHorrik
    sure, you could register it as open generic, but that doesn't work with Catel logging
    each logging fx is a bit different
    advapiIT
    @advapiIT
    ok
    and about destructuring as Serilog does have u managed to do something similar?
    advapiIT
    @advapiIT
    Excuse me Geert, I've written a keep alive service that monitors a WPF application developed with Orchestra.... if the service goes down I have to execute it (I use Process.Start("cmd /C filepath")
    If I use a WPF application (a simple default one), it works. with Orchestra after the splash screen it shows for a second the shell, then it closes... can i be related to the splashscreen?
    advapiIT
    @advapiIT
    Errata Corrige : It was my fault... with the resolution of an Icon when calling from a differen app domain.... +1 kudos Geert!
    redrabbit007
    @redrabbit007
    Just started with Orchestra/Mahapps, my shell window shows up much larger than my main view. The shell is about 1400x1000 pixels, with the view about 820x800. How do I get the shell to be smaller so it just fits the view? Do I need to implement my own custom shell?