Closed starteNCS closed 1 year ago
Hi @starteNCS,
thanks for providing a detailed bug-report!
Is there any chance you could provide me with the following information?
-l Trace
) make sure to censor any confidential informationBoth of these things might be helpful to track down the issue that might occur in your Azure-Pipeline.
Sure! I was able to reproduce this exact bug when creating a new project so here we go:
Screenshot to your first question:
But the same can be seen here: https://dev.azure.com/PhilippHonsel/liz.bugreport/_build/results?buildId=2&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=35f53584-79fc-539f-463c-6471d0663a3a
This is a "broken" pipeline run. You can feely navigate this project to find the root cause if you want. With this code it works on my windows 10 machine, but not on the pipeline. If I remember corretly, the public azure devops pipelines are running on ubuntu as well.
Ahh very nice, this will help a lot, thank you! :)
I'll have a look at that as soon as I can. This will be some time next week though (real-life y'know), I hope that does not hinder you too much.
Looking at the output of the Trace-Log seems like liz doesn't find anything to process. As if there aren't any package- nor project-references. Seems odd.
Unfortunately I won't be able to work on this today.
But: Can you try to run the analysis targetting a csproj
instead of a sln
? This might help to narrow down the cause of the issue.
Yes, using a csproj works. (See the screenshot in the bug report)
I unfortunately have no solution yet, but I managed to track down that the issue probably comes from my SlnParser library which I use to parse the solution when one is given.
I just released a new version 2.0.3 which should fix the issue that you described. Can you verify that? Worked in my Azure DevOps pipeline.
This did fix it indeed. Thanks! See new run: https://dev.azure.com/PhilippHonsel/liz.bugreport/_build/results?buildId=3&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=35f53584-79fc-539f-463c-6471d0663a3a
great news, thanks!
Description of the bug
When scanning my solution I could not get it to work on my azure devops pipeline (ubuntu), where as it works just fine on my local dev machine.
Steps to reproduce
These are my pipeline steps. Running the exact same on my local machine, does work.
Additional Information
This is the output using the solution:
This is the output I would expect and the output I get when using a csproj: