Comments (9)
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.
from liz.
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.
from liz.
Yes, using a csproj works. (See the screenshot in the bug report)
from liz.
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
from liz.
Hi @starteNCS,
thanks for providing a detailed bug-report!
Is there any chance you could provide me with the following information?
- A diagnostic log (using
-l Trace
) make sure to censor any confidential information - A solution containing the projects and package-references that you're currently using - again, making sure to censor any confidential information (i.e. I don't need any source-code, as liz only uses the project- and package-reference information)
Both of these things might be helpful to track down the issue that might occur in your Azure-Pipeline.
from liz.
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.
from liz.
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.
from liz.
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.
from liz.
great news, thanks!
from liz.
Related Issues (20)
- [BUG]: Packages from an old-style project are not being included when starting from an sdk-style project
- [BUG]: Package names are not case-insensitive
- [BUG]: "download packages that are not in the cache" doesn't work with Central Package Management (CPM) enabled
- [BUG]: Lower timeout when endpoint could not be reached HOT 1
- Update Cake.ExtractLicenses to target Cake v2.0.0 HOT 3
- Update Cake.ExtractLicenses to target Cake v3.0.0 HOT 2
- Overhaul editorconfig
- Add NuGets that help develop Cake Addins
- How can Stylecop and Stylecop Analyzers help with keeping clean code?
- Update Workflows to use .NET 7
- Use Parrallel For/ForEach to speed up process
- Export the extracted licenses in SPDX? HOT 6
- Change names to conform to inclusive name conventions HOT 1
- [FEAT]: Release Cake.ExtractLicenses as a package without dependencies HOT 1
- [FEAT]: Make sure that trimming works HOT 1
- [FEAT]: Look into removing `System.IO.Abstractions` as a dependency HOT 1
- [FEAT]: Update SlnParser dependency HOT 1
- [FEAT]: Replace Moq in favor of NSubstitute
- [FEAT]: Get package-references using the `project.assets.json`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liz.