Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nuget]

NuGet is the package and dependency manager for the Microsoft development platform including .NET.

1
vote
1answer
21 views

working with multiple libraries and versions using nuget local feed

so I am in a position where I doubt my solution to the following problem: - we are developing a wpf desktop application with c# and have a decent plugin system. This increases the libraries we have ...
0
votes
0answers
45 views

Structuring dependencies for .Net core across Nuget packages

I am working on a microservices system in c# (.Net Core) where for simplicity we place each microservice in it's own repo. Some services are very generic and some are very similar (although for ...
-1
votes
1answer
49 views

C# Separate Online Store into Different Solutions and Nugets

I am creating an Online Shopping Cart store. It is built through Net MVC Core. There is a Front End View website: html, css, razor. Then we have backend code design for Customers: including shopping ...
0
votes
1answer
49 views

Best practice to develop nuget packages for base functionality alongside main application, which consumes the packages

I am trying to extract some core functionality out of my main application code, that doesn't change very often (e.g. logging, utils etc.). Our current Situation: A dev branch with all code in it. A ...
1
vote
1answer
120 views

Avoid or minimize merge conflicts while using NuGet and GitFlow

Here's our problem - we have several solutions with multiple projects using our own nuget packages. We're following GitFlow, but not SemVer. Every time we're developing bigger feature or epic we want ...
-1
votes
2answers
89 views

How to test for backwards compatibility in NuGet?

Let us say I am working on a project with maybe 100 nuget packages installed and 50 of these packages require an update. I would ike to get a clear overview on which package updates cause any ...
1
vote
0answers
144 views

How to manage multiple NuGet packages in GitHub and Artifactory?

My colleagues and I are in the process of re-architecting our system. The old system is a ASP.NET monolith using TFS for source control. The new system is made up of ASP.NET Core microservices using ...
0
votes
1answer
296 views

How to share common NuGet package settings between projects (csproj 2017)

I would like to share common NuGet package values between projects in the same solution, such as Author, Company, Copyright, and Product. Previously (using the 2015 project format), I would use a ...
0
votes
0answers
39 views

Does it make sense to put WCF proxy lib into nuget?

In the enterprise environment we have a lot of windows programs and local WCF services. Programs are really light, they don't connect to the database directly, they use services. The problem is, that ...
1
vote
2answers
582 views

Best practices for developing NuGet package alongside consumer?

I'm writing a NuGet package mainly for data access and utility functions that is going to be consumed by multiple web applications, but there will be one main web application that is going to drive ...
3
votes
1answer
61 views

NuGet on VSTS strategy

I have the following scenario: We want to create nuget packages on VSTS We want the packages to be available for an external party (preferably no login, tokens...?) For our developers we want to have ...
4
votes
3answers
727 views

When to create a nuget package vs creating a web api

As our devs are writing internal applications, often times we need to share code. There are various ways to do this, but it usually comes down to creating a nuget package on a shared server or hosting ...
0
votes
1answer
45 views

How can I do production like deployments using a artifact server that enforces semantic versioning with artifacts that haven't received a version yet?

Just a small bit of background. Right now my team tags release candidates in version control. I've learned that this may not be the best thing to do because we still have to go through user acceptance ...
1
vote
1answer
421 views

One project per solution to create nuget packages

I have a solution with 10 projects, I used to distribute this as an SDK with an installer back in the day. To change that in VSTS I added the steps to create a package per project, every time I make ...
0
votes
1answer
237 views

project.json and NuGet on a Xamarin Forms Project

I am relatively new to visual studio (I've spent most of my life on Linux) and I am fairly befuddled about the Windows build process, especially regarding NuGet. I have a Xamarin PCL solution with ...
3
votes
1answer
406 views

How can I be sure that an unofficially uploaded NuGet package is genuine?

I've come across a few cases lately where a package on NuGet has a name that starts with "Microsoft" but is actually uploaded by someone else. Take Microsoft.TestApi for example. Ostensibly this is a ...
4
votes
1answer
523 views

Using private NuGet repository and Jenkins to handle dependencies

I am experimenting with using a private NuGet repository and jenkins to deal with dependencies. Let's say we have exe A and libraries B,C and D. Exe A depends on library B which depends on C and D. ...
5
votes
2answers
2k views

Policies on NuGet dependencies versions when developing a library

I'm building a C# library and have some dependencies through NuGet packages. I'm trying to minimise entry barrier and using the very early versions of dependency packages. For example I use Newtonsoft....
1
vote
3answers
110 views

Store Nuget\NPM packages in VCS with source or not?

Is it good practice to store Nuget or NPM (or other) packages in the source control with the source, or to keep them in some other place? My gut says they belong with the source, however a package ...
1
vote
0answers
851 views

VS2015 & Git Submodules

We have a few projects in my organization that are being developed in parallel and I have found that they are increasingly using similar Utility/Logging/Etc functionalities that they have as separate ...
5
votes
1answer
570 views

How to version NuGet packages in CI world

I am trying to implement CI for one of my projects that generates a NuGet package which is published to our private NuGet repository. Obviously, for dependent applications to see the new packages as ...
18
votes
3answers
2k views

Manging in-house NuGet packages with source code access

We have a lot of in-house libraries that we would like to share between projects inside the company. These are some of the requirements: library sources are stored in repositories separated from end-...
5
votes
1answer
231 views

Is NuGet vulnerable to this typosquatting attack?

A recently-published article demonstrates a way to make "typo-squatting" attacks on popular programming package managers. It singles out Python's pip, Ruby's gem and Node's npm systems, and shows ...
1
vote
0answers
82 views

Continous integration of only MyCompanies nuget packages

I am trying to do a nightly package integration with one of our projects that consumes 6 other internal teams’ -PreRelease packages. Background Info We have our own internal ProGet Server that ...
1
vote
1answer
86 views

Removing old (semantically versioned) NuGet packages

We are running into issues with our NuGet server when we reach 100 packages. We have multiple packages, all semantically versioned (3 digits), from multiple projects, in our NuGet repository. What ...
1
vote
2answers
441 views

.NET solution dependency workflow for a small dev team

We have a team of 5 developers working on a product and are at a crossroads trying to determine a better way (if one exists) of managing development workflow and project dependencies. We currently ...
0
votes
1answer
2k views

Best practices in managing nuget repositories [closed]

I've been involved in a project using Visual Studio 2012 that has multiple solutions and multiple projects. In most cases, one solution will have to refer to the library build in a different project. ...
4
votes
1answer
501 views

Starting to use TFS - handling internal dependant libraries - local nuget?

Approach I'm trying to get up and running with TFS 2013. This is my priority order for implementing it. Start using it for existing Git Repo projects. Then get automated builds working from check ...
0
votes
2answers
146 views

SOA: Make each level of a service stack a package (NuGet etc.)?

Say I have a service that has the following hierarchy: Controller Business Logic Data Adapter All of these make up a service that presents an HTTP API that can be used by other services. Together ...
2
votes
0answers
755 views

GitFlow with TFS 2013, bumping versions

We have TFS 2013 only for version control, Team City for building, a Nuget server and Visual Studio 2013. Little late in the game but we haven't set guidelines for getting code from development into ...
1
vote
2answers
138 views

Implementing Continuous Integration with a volatile hierarchy of library dependencies

Recently my company setup a build server using Bamboo and a private Nuget Feed which is populated by the successful builds being deployed from the build server. There is a hierarchy of projects under ...
16
votes
3answers
7k views

Get license information for all used NuGet packages

To keep our house in order, I want to automatically assemble licenses for project dependencies in our documentation, rather than having to add them manually. Does anybody know a simple way to ...