Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Msbuild in devops pipeline fails #375

Open
svenumeration opened this issue May 29, 2022 · 1 comment
Open

Msbuild in devops pipeline fails #375

svenumeration opened this issue May 29, 2022 · 1 comment

Comments

@svenumeration
Copy link

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...

@svenumeration
Copy link
Author

Solved,

a wrong parameter in de pipeline was causing this issue. Not an Antlr bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant