Publish unlisted NuGet package
I want to publish a new version of a NuGet package, but I want it automatically in an Unlisted status. When I manually upload the .nupkg file to nuget.org, in the preview there is an option to unlist...
View ArticleVisualStudio and MSBuild deciding on lower version of NuGet package than...
ASP.NET Core 2.2.0Local Visual Studio restore + build is success.packages folder contains : \Microsoft.Extensions.Options.ConfigurationExtensions.dll\2.0.2\ This package is not directly referenced --...
View ArticleHow to push nupkg file to Azure DevOps feed?
I have .nupkg file that I would like to add to the feed I've created in Azure DevOps. The feed is called Feed. Unfortunately, the only way I see right now is to polute the repo by pushing the file by...
View ArticleUnable to resolve Nuget package Microsoft.Graph.Auth issue in C# Active...
I am trying to run this code:using System; using Microsoft.Graph; using Microsoft.Graph.Auth; using Microsoft.Identity.Client; using System; using System.Collections.Generic; using System.Net.Http;...
View ArticleASP.NET Core MVC - NETSDK1018 Invalid Nuget version string 'Win10 - 1709 -...
I have an ASP.NET Core MVC website that I have been developing on a Windows 8 PC on Visual Studio 2017. I've just swapped out my laptop for a Windows 10 one and downloaded and reinstalled Visual Studio...
View ArticleProblem while add Xamrine.Android.Support.Design in Xamrine project(visual...
I am trying to add nugget packages in my Xamarin.Forms project and Xamarin.Android project. I am able to add below list of nuget packages to my Android project but I am not able to add them to the...
View ArticleIs there a command to point nuget.exe to a specific NuGet.Config file?
I am trying to install Nuget packages via the cmd because our program runs on multiples VMs which chosen randomly. Some of these VMs have Nuget installed and have a NuGet.Config file which installs the...
View ArticleVS2019 is dropping my references when I save the script?
So I'm following this tutorial here in an attempt to get data from a REST API:https://www.c-sharpcorner.com/article/how-to-consume-web-api-through-ssis-package/And I've followed all the steps, had to...
View ArticleIs it necessary to update all nuget packages when upgrading a project?
I was given the task to update some of our projects target frameworks from .Net 4.5 to .Net 4.8. While updating the projects some references broke. Visual Studio also showed warnings about certain...
View ArticleHow to create NuGet package that includes XML intellisense data
This link How do I create an XML Intellisense file for my DLL? explains how to build your dlls so that an XML file is included containing all your documentation headers so that they are available in...
View ArticleContentfile in nuget gets compiled causing build errors
I have a nuget that has a contentfile in it. It is a json file and denoted in the nuspec file when the nuget is packed. When installing the nuget in a regular wpf app, I get a couple build errors. It...
View ArticleNuGet fails to find existing package
How it's possible that NuGet's Install-Package fails with Unable to find version 'x' of package 'y' when that exact version is released as NuGet to the official repository and it shown on the...
View ArticleYour startup project 'project' doesn't reference...
I'm building WPF application with the EntityFrameworkCore version 2.2.2However, when i want to Add-Migration it output me an error...Your startup project 'project' doesn't reference...
View ArticleUnable to find package ***. No packages exist with this id in source(s):...
I have to one library which I want to package and use in other projects. This library has reference to another project, that I do not want to publish as a package. To include it in the package I have...
View ArticleNuGet proxy/cache with dependency resolving
We have a developer zone in our organization that developer computers doesn't have internet connection. They need to install packages from NuGet, So we have to create a proxy/cache solution that...
View ArticleNuget Hell: Cannot reference NuGet package in UWP application due to public...
I have a UWP app and a bunch of NETStandard 2.0 libraries. The libraries contains a lot of logic and communication interfaces that I am using in ASP.NetCore and Desktop WPF applications, so I am not...
View ArticleHow to create a nuget file with both the Release and Debug configurations...
I need to create a nuget file which contains both the release and debug versions of my dll. I need to be able to do this in Azure Devops using the MSBuild task.I'm using MSBuild due to the bug in the...
View ArticleEnable NuGet package manager in VS Installer through command line. (as part...
I want to enable NuGet package manager through the command line but I am not sure how to do it.We have a Jenkins pipeline that installs MSBuild15 BuildTools (using choco commands) and I need to enable...
View ArticleHow to change code from one project for dependency project in C#
ITNOAI want to learn how should I change code behavior and segment from one project for one of dependency project in C#I think my question is ambiguous ,so I try to explain my question in another...
View ArticleInclude code analyzers in a nuget package
I currently have 25+ repositories to maintain. For all these repositories I would like to add Code Analysis using Roslyn analyzers.Because I want to have to control over the analyzers that are being...
View Article