Giter Site home page Giter Site logo

basicx-strgv / wget.net Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 7.0 5.36 MB

A WinGet wrapper library for .Net. Easily install, update, uninstall and more, from your application.

Home Page: https://basicx-strgv.github.io/WGet.NET/

License: MIT License

C# 80.46% CSS 12.79% HTML 1.37% JavaScript 4.17% Batchfile 0.04% PowerShell 0.65% Shell 0.53%
csharp dotnet dotnet-core dotnet-framework dotnet-standard dotnetcore library package-manager windows winget winget-cli wrapper

wget.net's Introduction

Bjarne (basicx-StrgV)

Hi, I’m Bjarne, a German Software Developer.

I speak:

  • German
  • English

Credentials

English Deutsch
State-certified technician for information and communication technology Staatlich geprüfter informationstechnischer Assistent
Computer Science Expert Subject Area: Software Development Fachinformatiker Fachrichtung: Anwendungsentwicklung

Technologies I worked with

Stuff I worked with

Additionally:

  • Microsoft SQL Server
  • AVEVA - System Platform
    • ArchestrA
    • InTouch
    • OMI

Stats

Stats Top Langs

wget.net's People

Contributors

acedtimo avatar basicx-strgv avatar dependabot[bot] avatar mrhinsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wget.net's Issues

Add CreateNoWindow = true feature

Hi. Would it be possible to add the following launch property to the winget executable?

CreateNoWindow = true

Or some similar functionality to prevent a cmd window from appearing whenever the winget commands run?

NETFramework Version=v4.8 Error

Getting a "Could not install package 'WGet.NET 2.3.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.8', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author"

When trying to import the nuget package to a net framework 4.8 project

Anygot got a quick fix?

.Net Standard Support

It would be great if you could support .NET standard!

My application MUST use .NET 4 as it uses Microsoft libraries that are full framework :( but I have most of my libraries set to ".NET Standard" so that I can use them in both core and full framework where necessary.

GetInstalledPackages throws exception if no packages.

Why does packageManager.GetInstalledPackages(PackageId) throw an exception when no packages are returned rather than null?

 WGetNET.WinGetActionFailedException: The search of installed packages failed.
 ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at WGetNET.HelperClasses.ProcessOutputReader.ToPackageList(String[] output, PackageAction action, String sourceName)
   at WGetNET.WinGetPackageManager.GetInstalledPackages(String packageName)
   --- End of inner exception stack trace ---
   at WGetNET.WinGetPackageManager.GetInstalledPackages(String packageName)
   at MigrationTools.Host.Services.DetectVersionService2.InitialiseService() in C:\Users\MartinHinshelwood(He\Source\repos\azure-devops-migration-tools\src\MigrationTools.Host\Services\DetectVersionService2.cs:line 70

Is there another way to check this?

Process buffer width is too short for output list parsing

The winget process that gets startet, uses the default buffer width.
The default buffer width is too short and because of this winget does not output the full name and id of some packages.
This results in incomplete parsing of the name and/or id of some packages.

Winget Output Sample

After parsing the result could look like this:
Parsing Output Sample

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.