Git Product home page Git Product logo

dotnet-project-dependencies-analyser's People

Contributors

dependabot-preview[bot] avatar jericho avatar joaoasrosa avatar

Stargazers

 avatar  avatar  avatar  avatar

dotnet-project-dependencies-analyser's Issues

Not compatible with UNIX systems (Linux and OSX)

I noticed a weird behavior I can't pinpoint exactly.
When I include version 2.0.0 in my Cake script it runs perfectly fine on Windows.

#addin "nuget:https://www.nuget.org/api/v2?package=Cake.DependenciesAnalyser&version=2.0.0"

 Task("Analyse-Dependencies")
     .Description("Runs the Dependencies Analyser on the solution.")
     .Does(() =>
{
     var settings = new DependenciesAnalyserSettings
     {
         Folder = "./"
     };
     AnalyseDependencies(settings);
});

However, when this is included and Cake starts on a UNIX system, the compiler starts complaining.
Removing the above code resolves the issue immediately.
I'll have a more in depth look when I've got more time but I wanted to let you know as that can take a while ๐Ÿ˜„
You can see the issue here: https://ci.appveyor.com/project/JanJoris/dotnet-core-sample/build/1.0.18/job/ijjicjy5joieu8jn

Output the report as HTML

Enhance the plugin to allow to output the report as HTML.
It will allow the CI server to publish it as artifact.

Missing dependency in the Addin

The System.Net.Http is missing from the Addin.

Could not load C:\Repos\nppxmltreeview\tools\Addins\Cake.DependenciesAnalyser.2.0.0\lib\netstandard2.0\NuGet.Protocol.dll (missing System.Net.Http, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)

Analyse other feeds

Currently, it only analyses the public NuGet feed.
The addin should be capable of analyzing private feeds.
It should rely on the configured NuGet feeds on the local machine.

Recommended changes resulting from automated audit

We performed an automated audit of your Cake addin and found that it does not follow all the best practices.

We encourage you to make the following modifications:

  • You are currently referencing Cake.Core 0.27.1. Please upgrade to 0.28.0
  • The Cake.Core reference should be private. Specifically, your addin's .csproj should have a line similar to this: <PackageReference Include="Cake.Core" Version="0.28.0" PrivateAssets="All" />
  • Your addin should target netstandard2.0. Please note that there is no need to multi-target, netstandard2.0 is sufficient.
  • The nuget package for your addin should use the cake-contrib icon. Specifically, your addin's .csproj should have a line like this: <PackageIconUrl>https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png</PackageIconUrl>.

Apologies if this is already being worked on, or if there are existing open issues, this issue was created based on what is currently published for this package on NuGet.org and in the project on github.

Output the report as XML

Enhance the plugin to allow to output the report as XML.
It will allow the CI server to publish it as artifact.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.