Coder Social home page Coder Social logo

home's Introduction

NuGet logo


NuGet Home

The Home repository is the starting point for people to learn about NuGet, the project. If you're new to NuGet, and want to add packages to your own projects, check our docs. This repo contains pointers to the various GitHub repositories used by NuGet and allows folks to learn more about what's coming in NuGet.

NuGet is being actively developed by the .NET Foundation. NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers and has a live deployment at www.nuget.org.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

NuGet Design Proposals

This repo contains design proposals for NuGet. It focuses on designs for the NuGet client tooling, NuGet.org public repository, and NuGet Package Manager inside Visual Studio.

Documentation and Further Learning

The NuGet Docs are the ideal place to start if you are new to NuGet. They are categorized in 3 broader topics:

The NuGet Blog is where we announce new features, write engineering blog posts, demonstrate proof-of-concepts and features under development.

Contributing

There are many ways in which you can participate in the project, for example:

If you are interested in fixing issues and contributing directly to the code base, please see the document Contribute To NuGet, which covers the following:

  • How to build and run from source
  • The development workflow, including debugging and running tests
  • Coding guidelines
  • Submitting pull requests
  • Finding an issue to work on
  • And much more!

Note: Not all of our repositories are open for contribution yet. Ping us if unsure.

Feedback

If you're having trouble with the NuGet.org Website, file a bug on the NuGet Gallery Issue Tracker.

If you're having trouble with the NuGet client tools (the Visual Studio extension, NuGet.exe command line tool, etc.), file a bug on NuGet Home.

Repos and Projects

  • NuGet client tools - this repo contains the following clients:
    • NuGet command-line tool 4.0 and higher
    • Visual Studio Extension (2017 and later)
    • PowerShell CmdLets

NuGet.org is backed by several core services:

NuGet.Server is a lightweight standalone NuGet server.

NuGet Documentation contains NuGet's documentation.

A full list of all the repos is available as well.

NuGet Packages by the NuGet team

We dogfood all of our stuff. NuGet uses NuGet to build NuGet, so to speak. All of our NuGet packages, which you can use in your own projects as well, are available from our NuGet.org profile page.

home's People

Contributors

albarry4 avatar chrisraygill avatar cristinamanum avatar donnie-msft avatar drewgillies avatar emgarten avatar erdembayar avatar heng-liu avatar jainaashish avatar jcjiang avatar jebriede avatar jeffkl avatar joelverhagen avatar jondouglas avatar jonwchu avatar karann-msft avatar kartheekp-ms avatar maartenba avatar martinrrm avatar mcnallyella avatar meeraharidasa avatar mkartakmsft avatar nigusu-allehu avatar nkolev92 avatar pragnya17 avatar pranavkm avatar skofman1 avatar xavierdecoster avatar zivkan avatar zkat avatar

Stargazers

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

home's Issues

PackageResolver: Resolver failed to resolve the correct identities for Update-Package Id scenario

on NuGetPackageManager's PreviewInstallPackageAsyncPrivate method, the call of
IEnumerable newListOfInstalledPackages = packageResolver.Resolve(packageTargetsForResolver, availablePackageDependencyInfoWithSourceSet, projectInstalledPackageReferences, token);

returns wrong results.
It should have returned jquery.2.1.3 as one of package identities, now it returns jquery.1.4.4.

jQuery 2.1.3 was removed from the following lines of code, which should not be.

                if(installedPackageWithSameId != null)
                {
                    packageTargetsForResolver.Remove(installedPackageWithSameId);
                }

Repro steps:

  1. Install-package jquery.validation
  2. Update-package jquery

Expected: updates jquery to 2.1.3
Actual: preview install action (install by Id) returns 0 actions.

UI: Review Changes should use a different order for the display

The order of operations shown in the preview should be:

  1. Uninstalling
  2. Updating
  3. Installing

I thought we displayed packages that were being updated, but I don't see an Updating header anymore. If that's gone, then the order should be:

  1. Uninstalling
  2. Installing

UI: Action changes to updating previous version after installing

After installing the latest version of a package, the following happens:

  1. The Action changes to "Update"
  2. The Version changes to the previous version
  3. The button changes to "Update"

When selecting a package that is already installed, here's what I'm thinking we should do:

  1. If there is an update available, select the latest version (respecting prerelease checkbox) and set the action to Update.
  2. If the latest version is already installed, set the action to Uninstall.

NuGet.PackageManagement: Resolver Gather throws null reference for primary package source is a folder

If the dependent package such as Microsoft.aspnet.mvc lives in a folder and use that folder as the primary package source, resolver gather will throw null reference exception at line 40:

        var packageWithNoDependencyInfoInPrimary = (primaryPackages.Where(p => !primaryRepoPackageDependencyInfo
            .Any(pdi => new PackageIdentity(pdi.Id, pdi.Version).Equals(p)))).FirstOrDefault();

here primaryRepoPackageDependencyInfo is null for a local folder repo, because primarySource.GetResource() returns null.

We should do a null check and also process this scenario accordingly.

Repro step:
install-package https://az320820.vo.msecnd.net/packages/microsoft.aspnet.mvc.4.0.20505.nupkg

type above on PMC.

NuGet.PackageManagement: Uninstalling a package with uninstall.ps1 from powershell console fails

NuGet.PackageManagement: Uninstalling a package with uninstall.ps1 from powershell console fails

Just install and uninstall jQuery from powershell console. Uninstall will work fine but uninstall.ps1 will fail to execute. This is because, in powershell console, today, powershell scripts get executed as post-step at the end in order to avoid thread switching. This does not work for executing uninstall.ps1 since the package directory is already deleted

We have to be able to invoke methods on the powershell dispatcher

NuGet.PackageManagement: If package restore fails, satellite files for the successfully restored packages are not restored

NuGet.PackageManagement: If restoring a package fails, satellite files for the successfully restored packages are not restored

Repro steps:

  1. Create a console Application
  2. Install-Package Microsoft.AspNet.Razor.fr
  3. Install one or more packages from a private feed such that it is not available from NuGet official
  4. Now, disable the private feed and only retain the official feed
  5. Delete packages folder
  6. Initiate restore packages through build or using 'Restore' button on the UI window
  7. Package restore will fail for all the packages from the private feed

Expected:

Satellite files for the Microsoft.AspNet.Razor.Fr is copied successfully

Actual:

Satellite files are not copied for Microsoft.AspNet.Razor.Fr and it never becomes available for restore again

NuGet.PackageManagement: Use DownloadResource.Progress event

NuGet.PackageManagement: Use DownloadResource.Progress event

Repro steps

  1. Create a console application
  2. From the powershell console, install a fairly large package, say, EntityFramework

Expected:

  1. There is a progress bar at the bottom-right of powershell console

Actual:

  1. There is no progress bar at the bottom-right of powershell console. When downloading a large package, there is no visual feedback to the user

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.