Skip to content

entry point cannot have parameters #2602

@andre-git

Description

@andre-git

Type: Bug

Thank you for your previous help on getting the project running with qsharp.json!
I encountered a second problem running my Q# project from a larger C# project.

The entrypoint my C# uses is an operation with parameters, however when I open just the folder of Q# to work with it directly, it shows a warning that the entry point cannot have parameters.

It is not a problem, but maybe there is a simple solution to that.

Extension version: 1.18.0
VS Code version: Code 1.102.0 (cb0c47c0cfaad0757385834bd89d410c78a856c0, 2025-07-09T22:10:34.600Z)
OS version: Windows_NT x64 10.0.26100
Modes:

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