Skip to content

Microsoft.AI.Foundry.Local FoundryLocalManager Installation Detection #254

@Chrissteven81

Description

@Chrissteven81

Is there a way outside of launching a powershell script from my .net 9 application to detect if foundry local is installed. FoundryLocalManager.IsServiceRunning returns false at which point my application attempts to start. the start fails and this is handled by a try catch but it seems this is not the most graceful way to handle this. As most PC do not have foundry local installed. My installation installs foundry local however, sometimes that fails because the PC does not have winget either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions