Skip to content

Msbuild in devops pipeline fails #375

@svenumeration

Description

@svenumeration

I'm using the Antl4 CodeGenerator in visual studio 2022.
When i build my project in visual studio, everything works fine.
I can use the cs file which was generated from the g4.

But when i build the project in a devops pipeline it fails.
It only fails when I build the project or a project depending on it.
When i build the whole solution, it works...

Error message: The type or namespace name 'FormsParser' could not be found (are you missing a using directive or an assembly reference?)

I can see that the cs file is generated in the obj/release folder, but still the build fails...

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